[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5810 [Stem]: Implement verification of server descriptor
#5810: Implement verification of server descriptor
-------------------------+--------------------------------------------------
Reporter: reganeet | Owner: reganeet
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: descriptors | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by eoinof):
My original motivation here was to get rid of the python-rsa usage.. so
that's certainly an option.
I think quite a few of the tests can be fixed by turning off validation,
and the others can probably be fixed by replacing the hardcoded values in
test functions with references to the mocking code:
e.g. to fix test/unit/tutorial.py
{{{
- expected_line = "%i. speedyexit (102.13 KB/s)" % count
+ expected_line = "%i. speedyexit (%s/s)" % (count,
str_tools.get_size_label(int(mocking.ACTUAL_OBSERVED_BANDWIDTH) ,2))
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5810#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs