Convert BridgeDB's old unittests to use twisted.trial
twisted.trial
has a conversion utility class for translating test results from stdlib unittest
into something which trial
's reporter can use. I've never used it, but either some sort of conversion should be done of the old tests, or they should be rewritten.
Additionally, all the tests are in one file, lib/bridgedb/Tests.py, which imports al of the modules in the bridgedb
package, and also makes it a bit hard to follow which test is testing what.
We should also probably re-evaluate whether the class Test(setuptools.Command)
in setup.py
is still necessary.