Commit da670de6 by Fábián János

Remove error

parent ec085e94
...@@ -241,8 +241,7 @@ class InstanceActivityTestCase(TestCase): ...@@ -241,8 +241,7 @@ class InstanceActivityTestCase(TestCase):
original_create = InstanceActivity.create original_create = InstanceActivity.create
mocked_create = types.MethodType(original_create.__func__, mocked_create = types.MethodType(original_create.__func__,
mock_instance_activity_cls, mock_instance_activity_cls)
original_create.__self__.__class__)
try: try:
mocked_create('test', instance, readable_name="test", mocked_create('test', instance, readable_name="test",
concurrency_check=False) concurrency_check=False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment