Josh Paulin
10/18/2022, 6:21 PMdisable_run_logger
Anna Geller
10/18/2022, 6:27 PMZanie
10/18/2022, 6:28 PMcache_key_fn
Josh Paulin
10/18/2022, 7:49 PMcache_results_in_memory
option.
The following test will pass as is, but if you uncomment line 19 and explicitly set the results_storage
it will fail that the cache block isn’t found.
Change the fixture from function
to session
and it fails because the second run has a state of Cached
Zanie
10/18/2022, 10:48 PMJosh Paulin
10/18/2022, 11:05 PMpytest
outputZanie
10/19/2022, 3:37 PMLocalFileSystem
object@pytest.mark.parametrize("execution_number", range(2))
def test_flow(execution_number):
simple_task.result_storage._block_document_id = None
result = simple_flow()
assert result[0].name == "Completed"
None
fixes the issueJosh Paulin
10/19/2022, 3:47 PM