[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Fix the name of a unittest in test_parse_descriptors.



commit cfc24e94335c27d6e9fb936510ab6cb9bbc1cd41
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits