aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-12-09 23:22:27 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-12-09 23:22:27 -0200
commitd0c6e156e471287ae0aa33150b01bba60362db57 (patch)
treeb53b7b8b9e58412356ab6b954010e912afb1c497 /tests/test_description_tree.py
parentsmall fixes on the log class and some minor typos (diff)
downloadg-octave-d0c6e156e471287ae0aa33150b01bba60362db57.tar.gz
g-octave-d0c6e156e471287ae0aa33150b01bba60362db57.tar.bz2
g-octave-d0c6e156e471287ae0aa33150b01bba60362db57.zip
fixed a bunch of tests
Diffstat (limited to 'tests/test_description_tree.py')
-rw-r--r--tests/test_description_tree.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/test_description_tree.py b/tests/test_description_tree.py
index 7e9f527..da194f3 100644
--- a/tests/test_description_tree.py
+++ b/tests/test_description_tree.py
@@ -14,16 +14,16 @@
import os
import shutil
import unittest
-import utils
+import testcase
from g_octave import description, description_tree
-class TestDescriptionTree(unittest.TestCase):
+class TestDescriptionTree(testcase.TestCase):
def setUp(self):
- conf, self._config_file, self._tempdir = utils.create_env()
- self._tree = description_tree.DescriptionTree(conf = conf)
+ testcase.TestCase.setUp(self)
+ self._tree = description_tree.DescriptionTree()
def test_package_versions(self):
versions = {
@@ -93,11 +93,7 @@ class TestDescriptionTree(unittest.TestCase):
self._tree[pkg+'-'+ver],
description.Description
)
- )
-
- def tearDown(self):
- # removing the temp tree
- utils.clean_env(self._config_file, self._tempdir)
+ )
def suite():