Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fornellas committed Feb 24, 2021
1 parent 5c110df commit 6aaa8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/strict_mock_testslide.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def __hash__(self):
class TemplateBaseStrictMock(StrictMock):
def __init__(self):
super().__init__(template=Template)
self.__instance_method_return = "mock"

@staticmethod
def static_method(message):
Expand All @@ -130,6 +129,7 @@ def __len__(self):

class TemplateStrictMock(TemplateBaseStrictMock):
def instance_method(self, message):
self.__instance_method_return = "mock"
return self.__instance_method_return


Expand Down

0 comments on commit 6aaa8bc

Please sign in to comment.