summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_maas.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2015-01-26 20:02:31 -0500
committerBarry Warsaw <barry@python.org>2015-01-26 20:02:31 -0500
commit5e2b8ef0703eb4582a5a8ba50ae7c83a8294d65a (patch)
tree9f3c2d6d7cdd3e63e52d54152d3dbb15e916d9f3 /tests/unittests/test_datasource/test_maas.py
parentfe99f7d6d87e88320933957b2933288c6eb2986d (diff)
downloadvyos-cloud-init-5e2b8ef0703eb4582a5a8ba50ae7c83a8294d65a.tar.gz
vyos-cloud-init-5e2b8ef0703eb4582a5a8ba50ae7c83a8294d65a.zip
Repair the Python 2.6 tests.
Diffstat (limited to 'tests/unittests/test_datasource/test_maas.py')
-rw-r--r--tests/unittests/test_datasource/test_maas.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unittests/test_datasource/test_maas.py b/tests/unittests/test_datasource/test_maas.py
index 6af0cd82..d25e1adc 100644
--- a/tests/unittests/test_datasource/test_maas.py
+++ b/tests/unittests/test_datasource/test_maas.py
@@ -2,11 +2,10 @@ from copy import copy
import os
import shutil
import tempfile
-import unittest
from cloudinit.sources import DataSourceMAAS
from cloudinit import url_helper
-from ..helpers import populate_dir
+from ..helpers import TestCase, populate_dir
try:
from unittest import mock
@@ -14,7 +13,7 @@ except ImportError:
import mock
-class TestMAASDataSource(unittest.TestCase):
+class TestMAASDataSource(TestCase):
def setUp(self):
super(TestMAASDataSource, self).setUp()