Check test directory is cleaned up by Python tests.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 29 May 2008 15:29:56 +0000 (17:29 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 29 May 2008 15:29:56 +0000 (17:29 +0200)
source/scripting/python/samba/tests/__init__.py

index e29b4a87d5295b018dba7edbdd7b1b553da6c9a2..d827bfa0044926e4c6e9d56052392fab03e078b4 100644 (file)
@@ -47,6 +47,7 @@ class TestCaseInTempDir(unittest.TestCase):
 
     def tearDown(self):
         super(TestCaseInTempDir, self).tearDown()
+        self.assertEquals([], os.listdir(self.tempdir))
         os.rmdir(self.tempdir)