commit cfc24e94335c27d6e9fb936510ab6cb9bbc1cd41 Author: Isis Lovecruft isis@torproject.org Date: Wed Dec 10 23:25:14 2014 +0000
Fix the name of a unittest in test_parse_descriptors.
It tests the `parseServerDescriptorsFile()` function, not `parseBridgeDescriptorsFile()`.
* CHANGE test_parse_descriptors_parseBridgeDescriptorsFile() to test_parse_descriptors_parseServerDescriptorsFile() in lib/bridgedb/test/test_parse_descriptors.py. --- lib/bridgedb/test/test_parse_descriptors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/test/test_parse_descriptors.py b/lib/bridgedb/test/test_parse_descriptors.py index 47685af..38bbf99 100644 --- a/lib/bridgedb/test/test_parse_descriptors.py +++ b/lib/bridgedb/test/test_parse_descriptors.py @@ -208,8 +208,8 @@ class ParseDescriptorsTests(unittest.TestCase): fh.flush() return descFilename
- def test_parse_descriptors_parseBridgeDescriptorsFile(self): - """Test for ``b.p.descriptors.parseBridgeDescriptorsFile``.""" + def test_parse_descriptors_parseServerDescriptorsFile(self): + """Test for ``b.p.descriptors.parseServerDescriptorsFile``.""" descFile = io.BytesIO(BRIDGE_SERVER_DESCRIPTOR) routers = descriptors.parseServerDescriptorsFile(descFile) self.assertIsInstance(routers, list)
tor-commits@lists.torproject.org