Adam
09/30/2020, 11:08 AMTimothy Byrne
09/30/2020, 2:27 PMAlexander Pospiech
10/01/2020, 6:52 AMSimone Cittadini
10/01/2020, 9:44 AMdef test_zipfiles(mocker: MockerFixture) -> None:
# sometimes I mock stuff, usually context stuff
with Flow(name="test") as flow: # type: ignore
task = TaskUnderTest(... confs)
output = task(... args)
res = flow.run()
assert res.result[output].result == ... expected result
Adam
10/01/2020, 1:22 PMpython -m pytest tests/
helped iirc.
My problem now is that the above command results in a lot of the test files failing. However if I run them individually they work.
The errors I get are TypeError: 'builtin_function_or_method' object is not iterable