[tor-bugs] #7783 [Stem]: add keyword arguments to mocking.return_for_args

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 22 14:53:17 UTC 2012


#7783: add keyword arguments to mocking.return_for_args
-------------------------+--------------------------------------------------
 Reporter:  robinson     |          Owner:  atagar
     Type:  enhancement  |         Status:  new   
 Priority:  normal       |      Milestone:        
Component:  Stem         |        Version:        
 Keywords:  mocking      |         Parent:        
   Points:               |   Actualpoints:        
-------------------------+--------------------------------------------------
 This branch[0] makes return_for_args able to handle keyword args, adds an
 explicit declaration that the mocked object is a method, and expands the
 pydocs.  This is an API change to the function and I have updated all the
 internal users that I could find.

 [0]: https://gitorious.org/stem-robinson/stem-robinson/commits/exp-
 mocking-keywords

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


More information about the tor-bugs mailing list