Skip to content
Snippets Groups Projects
Commit ee9aaecc authored by Anne Philipp's avatar Anne Philipp
Browse files

corrected test for delete_files

parent 9e17c592
No related branches found
No related tags found
No related merge requests found
......@@ -43,9 +43,9 @@ class TestUioFiles():
"""Test if a file is deleted."""
testfile = os.path.join(self.testpath, 'test.test')
open(testfile, 'w').close()
iofile = UioFiles(testfile, 'test.test')
iofile = UioFiles(self.testpath, 'test.test')
iofile.delete_files()
assert [] == UioFiles(testfile, 'test.test').files
assert [] == UioFiles(self.testpath, 'test.test').files
def test_str_(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment