Skip to content

Commit 83b78bf

Browse files
committed
1 parent 8b950fc commit 83b78bf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/importers/tests.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,16 +1892,11 @@ def test_import_task_from_json(self):
18921892
def test_revoke(self):
18931893
import_task = ImportTask()
18941894
mock = Mock()
1895-
mock.parent = Mock()
1896-
mock.parent.parent = Mock()
1897-
mock.parent.parent.parent = None
18981895

18991896
import_task.import_async_result = mock
19001897
import_task.revoke()
19011898

19021899
mock.revoke.assert_called_once_with()
1903-
mock.parent.revoke.assert_called_once_with()
1904-
mock.parent.parent.revoke.assert_called_once_with()
19051900

19061901

19071902
class ImporterTest(OCLTestCase):

0 commit comments

Comments
 (0)