[tor-bugs] #16616 [BridgeDB]: Add BridgeDB unittests for HSDir flag in Bridge networkstatus documents

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 21 06:31:26 UTC 2015


#16616: Add BridgeDB unittests for HSDir flag in Bridge networkstatus documents
-----------------------------+------------------------------
     Reporter:  isis         |      Owner:  isis
         Type:  enhancement  |     Status:  closed
     Priority:  normal       |  Milestone:
    Component:  BridgeDB     |    Version:
   Resolution:  fixed        |   Keywords:  bridgedb-parsers
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+------------------------------
Changes (by isis):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 I've added three unittests for parsing the HSDir flag (and a make-believe
 "Unicorn" flag, for good measure) w.r.t.
 `bridgedb.parse.descriptors.parseNetworkStatusFile()` and
 `bridgedb.bridges.Flags` in
 [https://gitweb.torproject.org/user/isis/bridgedb.git/commit/?h=fix/16616
 -hsdir-flag&id=5f3910b02dfa19a70cb8ba0cee7bbc3a2c82b8ed commit] 5f3910b0
 in my `fix/16616-hsdir-flag`
 [https://gitweb.torproject.org/user/isis/bridgedb.git/log/?h=fix/16616
 -hsdir-flag branch].

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


More information about the tor-bugs mailing list