[tor-bugs] #7686 [Stem]: fix for mocking.mock_method

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 9 22:02:18 UTC 2012


#7686: fix for mocking.mock_method
-------------------------+--------------------------------------------------
    Reporter:  robinson  |       Owner:  atagar
        Type:  defect    |      Status:  closed
    Priority:  normal    |   Milestone:        
   Component:  Stem      |     Version:        
  Resolution:  fixed     |    Keywords:  test  
      Parent:            |      Points:        
Actualpoints:            |  
-------------------------+--------------------------------------------------
Changes (by atagar):

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


Comment:

 Nice, I wouldn't have guessed that setattr() would do the trick. This will
 be very, very handy for future unit tests - thanks!

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


More information about the tor-bugs mailing list