Here it is:
class BazMock(object):
def __init__(self, **kwargs):
self.__dict__.update(kwargs)
Now I need to figure out how to make some mock tests to go with it.
Programming, gardening, economics, life in Cleveland Heights
Here it is:
class BazMock(object):
def __init__(self, **kwargs):
self.__dict__.update(kwargs)
Now I need to figure out how to make some mock tests to go with it.
Posted in Programming, Python, Testing.
Add New Comment
Viewing 5 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment