Skip to content
Snippets Groups Projects
Commit 236b7e5d authored by Jedrzej Rybicki's avatar Jedrzej Rybicki
Browse files

test mode?

parent 6072455e
No related branches found
No related tags found
No related merge requests found
Pipeline #78300 passed
...@@ -31,7 +31,7 @@ class B2ShareOperatorTest(unittest.TestCase): ...@@ -31,7 +31,7 @@ class B2ShareOperatorTest(unittest.TestCase):
gfl.return_value = {'ooo.txt': 'htt://file/to/download'} gfl.return_value = {'ooo.txt': 'htt://file/to/download'}
down.return_value = 'tmp_name' down.return_value = 'tmp_name'
self.ti.run(ignore_ti_state=True) self.ti.run(ignore_ti_state=True, test_mode=True)
print(self.ti.state) print(self.ti.state)
self.assertEqual(State.SUCCESS, self.ti.state) self.assertEqual(State.SUCCESS, self.ti.state)
# Assert something related to tasks results # Assert something related to tasks results
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment