Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rkorytkowski committed Jan 24, 2025
1 parent 8b950fc commit 83b78bf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/importers/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1892,16 +1892,11 @@ def test_import_task_from_json(self):
def test_revoke(self):
import_task = ImportTask()
mock = Mock()
mock.parent = Mock()
mock.parent.parent = Mock()
mock.parent.parent.parent = None

import_task.import_async_result = mock
import_task.revoke()

mock.revoke.assert_called_once_with()
mock.parent.revoke.assert_called_once_with()
mock.parent.parent.revoke.assert_called_once_with()


class ImporterTest(OCLTestCase):
Expand Down

0 comments on commit 83b78bf

Please sign in to comment.