summaryrefslogtreecommitdiff
path: root/tests/test_climat2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_climat2.py')
-rw-r--r--tests/test_climat2.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_climat2.py b/tests/test_climat2.py
index 7d12a03..a94fc23 100644
--- a/tests/test_climat2.py
+++ b/tests/test_climat2.py
@@ -50,7 +50,10 @@ class TestReturnValue(unittest.TestCase):
50 50
51class TestCleanFolder(unittest.TestCase): 51class TestCleanFolder(unittest.TestCase):
52 def test_jpg(self): 52 def test_jpg(self):
53 os.mkdir('./tests/data/folder/') 53 try:
54 os.mkdir('./tests/data/folder/')
55 except FileExistsError:
56 pass
54 shutil.copy('./tests/data/dirty.jpg', './tests/data/folder/clean1.jpg') 57 shutil.copy('./tests/data/dirty.jpg', './tests/data/folder/clean1.jpg')
55 shutil.copy('./tests/data/dirty.jpg', './tests/data/folder/clean2.jpg') 58 shutil.copy('./tests/data/dirty.jpg', './tests/data/folder/clean2.jpg')
56 59