Skip to content

Commit

Permalink
update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
toddsifleet committed Feb 27, 2015
1 parent 71eb72e commit 026f312
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions doubles/allowance.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,9 @@ def with_args(self, *args, **kwargs):
return self

def with_args_that_match(self, matching_function):
"""
Define a custom function for testing arguments
"""Define a custom function for testing arguments
:param func matching_function: The funciton used to test arguments passed to the stub.
:param func matching_function: The function used to test arguments passed to the stub.
"""
self.args = None
self.kwargs = None
Expand Down Expand Up @@ -194,8 +193,7 @@ def satisfy_exact_match(self, args, kwargs):
return True

def satisfy_custom_matcher(self, args, kwargs):
"""
Returns a boolean indicating whether or not the stub will accept the provided arguments.
"""Return a boolean indicating if the args satisify the stub
:return: Whether or not the stub accepts the provided arguments.
:rtype: bool
Expand Down

0 comments on commit 026f312

Please sign in to comment.