[tor-bugs] #17740 [Tor]: Unit Tests for Recent Consensuses

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 2 03:18:52 UTC 2015


#17740: Unit Tests for Recent Consensuses
-----------------------------+--------------------------------
     Reporter:  teor         |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  Medium       |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor          |    Version:
     Severity:  Normal       |   Keywords:  easy tests
Actual Points:               |  Parent ID:
       Points:               |    Sponsor:
-----------------------------+--------------------------------
 It would be great to have unit tests for the functions that return a
 recent consensus:

 Mock:
 * networkstatus_get_latest_consensus_by_flavor

 Test:
 * networkstatus_get_latest_consensus
 * networkstatus_get_reasonably_live_consensus
 * networkstatus_consensus_is_boostrapping

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17740>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list