[tor-bugs] #33860 [Core Tor/Tor]: Finish test_onionskin_answer()

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 9 00:43:32 UTC 2020


#33860: Finish test_onionskin_answer()
-------------------------------+-------------------------------------------
     Reporter:  teor           |      Owner:  (none)
         Type:  task           |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: 0.4.4.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:  ipv6, prop311, technical-debt
Actual Points:                 |  Parent ID:  #33220
       Points:  1              |   Reviewer:
      Sponsor:  Sponsor55-can  |
-------------------------------+-------------------------------------------
 In #33633, we finished unit tests for test_extend() and helpers.

 But we didn't have time to finish test_onionskin_answer().

 Let's try to test each of the cases of each `if` statement in
 onionskin_answer(). It's ok to mock the functions that are called by
 onionskin_answer().

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


More information about the tor-bugs mailing list