[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #17715 [Tor]: Write unit tests for directory_initiate_command_rend
#17715: Write unit tests for directory_initiate_command_rend
-----------------------------+--------------------------------
Reporter: teor | Owner:
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.2.9.x-final
Component: Tor | Version:
Severity: Normal | Keywords: easy tests
Actual Points: | Parent ID:
Points: | Sponsor:
-----------------------------+--------------------------------
To do this:
* Mock connection_connect to do nothing and return 0
* Mock directory_send_command to do nothing
* Mock connection_ap_make_link to return a fake connection
* just return the partner connection that's passed to it?
It would be nice to get this done in 0.2.8, but I think it's more likely
to be 0.2.9.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17715>
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