commit d4be25c38b00a61c414eb84d5a39bb595971846d Author: Isis Lovecruft isis@torproject.org Date: Wed Dec 11 03:19:39 2013 +0000
Update unittest parameter docstrings for parseRLine() tests. --- lib/bridgedb/test/test_parse_networkstatus.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/lib/bridgedb/test/test_parse_networkstatus.py b/lib/bridgedb/test/test_parse_networkstatus.py index b964b22..9e82b25 100644 --- a/lib/bridgedb/test/test_parse_networkstatus.py +++ b/lib/bridgedb/test/test_parse_networkstatus.py @@ -48,13 +48,14 @@ class ParseNetworkStatusRLineTests(unittest.TestCase): #: An OR nickname string. To be valid, it should be 1-19 alphanumeric #: upper or lower cased characters. nick = 'Testing' - #: A base64-encoded SHA-1 digest of the DER-formatted ASN.1-encoded public - #: portion of an OR identity key, with any trailing base64 padding (any - #: '=' characters) removed. + #: A base64-encoded, SHA-1 digest of the DER-formatted, ASN.1-encoded, + #: public portion of an OR identity key, with any trailing base64 padding + #: (any '=' characters) removed. ident = 'bXw2N1K9AAKR5undPaTgNUySNxI' - #: A base64-encoded SHA-1 digest of the OR [bridge-]server-descriptor - #: document (the whole thing, up until the 'router signature' line, but not - #: included the signature thereafter). + #: A base64-encoded, SHA-1 digest of the OR + #: `@type-[bridge-]server-descriptor` document (the whole thing, up until + #: the 'router signature' line, but not including the signature thereafter), + #: with any trailing base64 padding (any '=' characters) removed. desc = 'Z6cisoPT9s6hEd4JkHFAlIWAwXQ' #: An ISO-8661 formatted timestamp, with a space separator (rather than a #: 'T' character).