Merge "Get auth token when checking deployment"
[functest-xtesting.git] / functest / tests / unit / core / test_testcase.py
index ef0983c..73ed347 100644 (file)
 import logging
 import unittest
 
+from functest.core import testcase
+
 import mock
 
-from functest.core import testcase
 
 __author__ = "Cedric Ollivier <cedric.ollivier@orange.com>"
 
 
 class TestCaseTesting(unittest.TestCase):
     """The class testing TestCase."""
+
     # pylint: disable=missing-docstring,too-many-public-methods
 
     _case_name = "base"
@@ -221,6 +223,9 @@ class TestCaseTesting(unittest.TestCase):
         self.assertIn(duration, message)
         self.assertIn('FAIL', message)
 
+    def test_clean(self):
+        self.assertEqual(self.test.clean(), None)
+
 
 if __name__ == "__main__":
     logging.disable(logging.CRITICAL)