Opened 7 years ago

Closed 7 years ago

#7783 closed enhancement (duplicate)

add keyword arguments to mocking.return_for_args

Reported by: robinson Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords: mocking
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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

Child Tickets

Change History (1)

comment:1 Changed 7 years ago by atagar

Resolution: duplicate
Status: newclosed

These testing changes were to support #7784 so replying there.

Note: See TracTickets for help on using tickets.