aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-02 14:26:25 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-02 14:26:25 +0200
commit7c3f2ef461e92ef610ea835997c21921a8b4d05f (patch)
treee06e3a823c6320f62fae9c326a538b2bf98bdd8f /tests/test_elpa_db.py
parentg_elpa/elpa_db: add_category to higher level (diff)
downloadg-sorcery-7c3f2ef461e92ef610ea835997c21921a8b4d05f.tar.gz
g-sorcery-7c3f2ef461e92ef610ea835997c21921a8b4d05f.tar.bz2
g-sorcery-7c3f2ef461e92ef610ea835997c21921a8b4d05f.zip
base class for tests and initial commit for py2 compatibility module
Diffstat (limited to 'tests/test_elpa_db.py')
-rw-r--r--tests/test_elpa_db.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/test_elpa_db.py b/tests/test_elpa_db.py
index 97ce4e2..874ee96 100644
--- a/tests/test_elpa_db.py
+++ b/tests/test_elpa_db.py
@@ -19,12 +19,9 @@ from g_sorcery import exceptions, package_db
from tests.server import Server
-class TestElpaDB(unittest.TestCase):
- def setUp(self):
- self.tempdir = tempfile.TemporaryDirectory()
+from tests.base import BaseTest
- def tearDown(self):
- del self.tempdir
+class TestElpaDB(BaseTest):
def test_generate(self):
prev = os.getcwd()