diff --git a/tests/test_cli.py b/tests/test_cli.py index 59a03940..ad0e52b8 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -51,6 +51,9 @@ class TestItemParsing: } assert 'bar@baz' in items.files + # ensure we close the fixture file + items.multipart_data['bar@baz'][1].close() + @pytest.mark.parametrize('string, key, sep, value', [ ('path=c:\\windows', 'path', '=', 'c:\\windows'), ('path=c:\\windows\\', 'path', '=', 'c:\\windows\\'),