[tor-bugs] #7499 [Stem]: Unit test bug - mocking.py:_get_descriptor_content() handlign of 'opt' keyword

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 3 15:29:13 UTC 2012


#7499: Unit test bug - mocking.py:_get_descriptor_content() handlign of 'opt'
keyword
--------------------------+-------------------------------------------------
    Reporter:  eoinof     |       Owner:  atagar 
        Type:  defect     |      Status:  closed 
    Priority:  minor      |   Milestone:         
   Component:  Stem       |     Version:         
  Resolution:  not a bug  |    Keywords:  testing
      Parent:             |      Points:         
Actualpoints:             |  
--------------------------+-------------------------------------------------
Changes (by atagar):

  * status:  new => closed
  * resolution:  => not a bug


Comment:

 Tor's 'opt' prefix is deprecated, ignored by tor, and should be going away
 in newer versions. The mock function's attr are keyword/value mappings and
 opt isn't really a keyword. I'm fine with leaving it to callers to insert
 'opt' themselves if they want to test that it's being ignored.

 Resolving, feel free to reopen if you think that there's something to do
 here.

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


More information about the tor-bugs mailing list