Signed-off-by: Lucio Correia <
luci...@linux.vnet.ibm.com>
---
tests/test_model.py | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/tests/test_model.py b/tests/test_model.py
index 9abd26b..913349c 100644
--- a/tests/test_model.py
+++ b/tests/test_model.py
@@ -21,7 +21,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
import os
-import shutil
import unittest
import wok.objectstore
@@ -35,13 +34,8 @@ invalid_repository_urls = ['
www.fedora.org', # missing protocol
'
http://www.fedora', # invalid domain name
'file:///home/foobar'] # invalid path
-TMP_DIR = '/var/lib/gingerbase/tests/'
-
def setUpModule():
- if not os.path.exists(TMP_DIR):
- os.makedirs(TMP_DIR)
-
# iso_gen.construct_fake_iso(UBUNTU_ISO, True, '14.04', 'ubuntu')
# Some FeatureTests functions depend on server to validate their result.
@@ -53,10 +47,6 @@ def setUpModule():
Singleton._instances = {}
-def tearDownModule():
- shutil.rmtree(TMP_DIR)
-
-
class ModelTests(unittest.TestCase):
def setUp(self):
self.tmp_store = '/tmp/gingerbase-store-test'
--
2.7.4