adventurelib icon indicating copy to clipboard operation
adventurelib copied to clipboard

Fix test teardown handling

Open edmw opened this issue 9 months ago • 0 comments

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.

edmw avatar May 05 '24 18:05 edmw