[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #13125 [Tor]: Review the guardiness python script of #9321



#13125: Review the guardiness python script of #9321
------------------------+--------------------------------
     Reporter:  asn     |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-guard tor-auth
Actual Points:          |  Parent ID:  #9321
       Points:          |
------------------------+--------------------------------

Comment (by asn):

 BTW, the repository also contains 4MB of consensus files that are used for
 the unittests. They are in `test/test_consensuses/` and you can use them
 as a simple corpus for the scripts too.

 To run the unittests do the following terrible thing in the project
 topdir:
 {{{
 $ export PYTHONPATH=`pwd`
 $ python -m unittest  discover -s test/
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13125#comment:5>
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