From ee9aaeccb3a67f25d5bbeb25d64a9b154392afb1 Mon Sep 17 00:00:00 2001
From: Anne Philipp <anne.philipp@univie.ac.at>
Date: Wed, 12 Aug 2020 10:27:43 +0200
Subject: [PATCH] corrected test for delete_files

---
 Source/Pythontest/TestUIOFiles.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/Pythontest/TestUIOFiles.py b/Source/Pythontest/TestUIOFiles.py
index 3c7a10b..1584bb6 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):
-- 
GitLab