Skip to content

Commit

Permalink
Merge pull request #158 from markpell/master
Browse files Browse the repository at this point in the history
Fixing _MockedMethod so that you can call client.GetMethodsList()
  • Loading branch information
cherba29 authored May 3, 2017
2 parents 3b67db7 + b21f6d7 commit c5610a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apitools/base/py/testing/mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ class _MockedMethod(object):
"""A mocked API service method."""

def __init__(self, key, mocked_client, real_method):
self.__name__ = real_method.__name__
self.__key = key
self.__mocked_client = mocked_client
self.__real_method = real_method
Expand Down

0 comments on commit c5610a9

Please sign in to comment.