From 84e302ac9394397c98845cbdb4334ab646f8ae4b Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Wed, 3 Oct 2018 16:11:40 +0200
Subject: [PATCH] Remove file left behind by the testsuite

---
 tests/test_libmat2.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py
index 32ac059..957503d 100644
--- a/tests/test_libmat2.py
+++ b/tests/test_libmat2.py
@@ -233,6 +233,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.pdf')
         os.remove('./tests/data/clean.cleaned.pdf')
+        os.remove('./tests/data/clean.cleaned.cleaned.pdf')
 
     def test_png(self):
         shutil.copy('./tests/data/dirty.png', './tests/data/clean.png')
@@ -250,6 +251,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.png')
         os.remove('./tests/data/clean.cleaned.png')
+        os.remove('./tests/data/clean.cleaned.cleaned.png')
 
     def test_jpg(self):
         shutil.copy('./tests/data/dirty.jpg', './tests/data/clean.jpg')
@@ -267,6 +269,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.jpg')
         os.remove('./tests/data/clean.cleaned.jpg')
+        os.remove('./tests/data/clean.cleaned.cleaned.jpg')
 
     def test_mp3(self):
         shutil.copy('./tests/data/dirty.mp3', './tests/data/clean.mp3')
@@ -284,6 +287,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.mp3')
         os.remove('./tests/data/clean.cleaned.mp3')
+        os.remove('./tests/data/clean.cleaned.cleaned.mp3')
 
     def test_ogg(self):
         shutil.copy('./tests/data/dirty.ogg', './tests/data/clean.ogg')
@@ -301,6 +305,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.ogg')
         os.remove('./tests/data/clean.cleaned.ogg')
+        os.remove('./tests/data/clean.cleaned.cleaned.ogg')
 
     def test_flac(self):
         shutil.copy('./tests/data/dirty.flac', './tests/data/clean.flac')
@@ -318,6 +323,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.flac')
         os.remove('./tests/data/clean.cleaned.flac')
+        os.remove('./tests/data/clean.cleaned.cleaned.flac')
 
     def test_office(self):
         shutil.copy('./tests/data/dirty.docx', './tests/data/clean.docx')
@@ -335,6 +341,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.docx')
         os.remove('./tests/data/clean.cleaned.docx')
+        os.remove('./tests/data/clean.cleaned.cleaned.docx')
 
     def test_libreoffice(self):
         shutil.copy('./tests/data/dirty.odt', './tests/data/clean.odt')
@@ -352,6 +359,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.odt')
         os.remove('./tests/data/clean.cleaned.odt')
+        os.remove('./tests/data/clean.cleaned.cleaned.odt')
 
     def test_tiff(self):
         shutil.copy('./tests/data/dirty.tiff', './tests/data/clean.tiff')
@@ -369,6 +377,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.tiff')
         os.remove('./tests/data/clean.cleaned.tiff')
+        os.remove('./tests/data/clean.cleaned.cleaned.tiff')
 
     def test_bmp(self):
         shutil.copy('./tests/data/dirty.bmp', './tests/data/clean.bmp')
@@ -386,6 +395,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.bmp')
         os.remove('./tests/data/clean.cleaned.bmp')
+        os.remove('./tests/data/clean.cleaned.cleaned.bmp')
 
     def test_torrent(self):
         shutil.copy('./tests/data/dirty.torrent', './tests/data/clean.torrent')
@@ -403,6 +413,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.torrent')
         os.remove('./tests/data/clean.cleaned.torrent')
+        os.remove('./tests/data/clean.cleaned.cleaned.torrent')
 
     def test_odf(self):
         shutil.copy('./tests/data/dirty.odf', './tests/data/clean.odf')
@@ -420,6 +431,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.odf')
         os.remove('./tests/data/clean.cleaned.odf')
+        os.remove('./tests/data/clean.cleaned.cleaned.odf')
 
     def test_odg(self):
         shutil.copy('./tests/data/dirty.odg', './tests/data/clean.odg')
@@ -437,6 +449,7 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.odg')
         os.remove('./tests/data/clean.cleaned.odg')
+        os.remove('./tests/data/clean.cleaned.cleaned.odg')
 
     def test_txt(self):
         shutil.copy('./tests/data/dirty.txt', './tests/data/clean.txt')
@@ -454,3 +467,4 @@ class TestCleaning(unittest.TestCase):
 
         os.remove('./tests/data/clean.txt')
         os.remove('./tests/data/clean.cleaned.txt')
+        os.remove('./tests/data/clean.cleaned.cleaned.txt')
-- 
GitLab