summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2015-01-26 20:05:48 -0500
committerBarry Warsaw <barry@python.org>2015-01-26 20:05:48 -0500
commite2cfd12dc79a6350d9f1f3111a15bdb6666ccad7 (patch)
treeed032085bedc0da121ea431e19bdb8f041cf9c68 /tests/unittests/test_datasource
parent5e2b8ef0703eb4582a5a8ba50ae7c83a8294d65a (diff)
downloadvyos-cloud-init-e2cfd12dc79a6350d9f1f3111a15bdb6666ccad7.tar.gz
vyos-cloud-init-e2cfd12dc79a6350d9f1f3111a15bdb6666ccad7.zip
super() works in all of Python 2.6, 2.7, and 3.4.
Diffstat (limited to 'tests/unittests/test_datasource')
-rw-r--r--tests/unittests/test_datasource/test_smartos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_smartos.py b/tests/unittests/test_datasource/test_smartos.py
index 2fb9e1b6..b5ebf94d 100644
--- a/tests/unittests/test_datasource/test_smartos.py
+++ b/tests/unittests/test_datasource/test_smartos.py
@@ -118,7 +118,7 @@ class MockSerial(object):
class TestSmartOSDataSource(helpers.FilesystemMockingTestCase):
def setUp(self):
- helpers.FilesystemMockingTestCase.setUp(self)
+ super(TestSmartOSDataSource, self).setUp()
self.tmp = tempfile.mkdtemp()
self.addCleanup(shutil.rmtree, self.tmp)