diff --git a/Source/Pythontest/TestUIOFiles.py b/Source/Pythontest/TestUIOFiles.py index 3c7a10b0ad1907192ad9df8ac414a76003d96557..1584bb6fba48e9d440fd33110a793c891b1cee6c 100644 --- a/Source/Pythontest/TestUIOFiles.py +++ b/Source/Pythontest/TestUIOFiles.py @@ -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):