[tor-bugs] #9485 [Pluggable transport]: Cleanup of pyptlib internals

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Sep 7 14:50:16 UTC 2013


#9485: Cleanup of pyptlib internals
-------------------------------------+---------------------
     Reporter:  infinity0            |      Owner:  asn
         Type:  defect               |     Status:  new
     Priority:  normal               |  Milestone:
    Component:  Pluggable transport  |    Version:
   Resolution:                       |   Keywords:  pyptlib
Actual Points:                       |  Parent ID:
       Points:                       |
-------------------------------------+---------------------

Comment (by asn):

 Oh, I just noticed that the tests in `test/test_server.py` and in
 `test/test_client.py` were not rewritten for the new API, and are still
 using the deprecated functions! Naughty!

 We definitely need to rewrite (and enrich) these tests to use the new API
 before deploying this branch. Even though those tests suck, they test that
 pyptlib throws the proper exceptions, and returns correct results --
 should be good to verify that for the new API.

 If you don't have time to do it, I will do it before merging.

 Thanks!

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


More information about the tor-bugs mailing list