commit e6af3ad1b241d99c1089cc089b416001ed274887 Author: Isis Lovecruft isis@torproject.org Date: Fri Dec 20 06:47:24 2013 +0000
Fix field names in ParseNetworkStatusALineTests.test_missingPrefix(). --- lib/bridgedb/test/test_parse_networkstatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/test/test_parse_networkstatus.py b/lib/bridgedb/test/test_parse_networkstatus.py index 7b0826c..6d78d41 100644 --- a/lib/bridgedb/test/test_parse_networkstatus.py +++ b/lib/bridgedb/test/test_parse_networkstatus.py @@ -335,7 +335,7 @@ class ParseNetworkStatusALineTests(unittest.TestCase): ``hotfix/9462B-netstatus-returns-None``. """ self.line = '%s:1234' % self.oraddr - fields = networkstatus.parseALine(self.line) + ip, port = networkstatus.parseALine(self.line) this(ip).should.be.a(basestring) this(port).should.be(None)
tor-commits@lists.torproject.org