Skip to content
Snippets Groups Projects
Commit f776c157 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor fix.

parent 5c870f53
No related branches found
No related tags found
1 merge request!14Logging
Pipeline #37483 passed
...@@ -142,8 +142,7 @@ class TestUploadFile: ...@@ -142,8 +142,7 @@ class TestUploadFile:
for filename in upload.filelist: for filename in upload.filelist:
the_file = upload.get_file(filename) the_file = upload.get_file(filename)
if the_file.os_path.endswith('.xml'): if the_file.os_path.endswith('.xml'):
the_file.open() the_file.open().close()
the_file.close()
break break
def test_delete_upload(self, upload: UploadFile): def test_delete_upload(self, upload: UploadFile):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment