Open edmw opened 6 months ago
Using def teardown(): for test teardown code was never officially supported by pytest to my best knowledge.
def teardown():
Running the tests with pytest 8.2.0 does not succeed because teardown never gets called.
This change introduces a fixture to handle the setup and teardown of the commands list.
Using
def teardown():
for test teardown code was never officially supported by pytest to my best knowledge.Running the tests with pytest 8.2.0 does not succeed because teardown never gets called.
This change introduces a fixture to handle the setup and teardown of the commands list.