diff options
author | Barry Warsaw <barry@python.org> | 2015-01-26 16:37:29 -0500 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2015-01-26 16:37:29 -0500 |
commit | fabff4aec884467729fc372bb67f240752c15511 (patch) | |
tree | ac6391705d071a585a62993f3d93f2af7556756b /tests/unittests/test_datasource | |
parent | 2329d28a316e0ea6874b9457a1c04b37895adfd2 (diff) | |
download | vyos-cloud-init-fabff4aec884467729fc372bb67f240752c15511.tar.gz vyos-cloud-init-fabff4aec884467729fc372bb67f240752c15511.zip |
Port the MAAS code to oauthlib.
Diffstat (limited to 'tests/unittests/test_datasource')
-rw-r--r-- | tests/unittests/test_datasource/test_maas.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/unittests/test_datasource/test_maas.py b/tests/unittests/test_datasource/test_maas.py index 66fe22ae..6af0cd82 100644 --- a/tests/unittests/test_datasource/test_maas.py +++ b/tests/unittests/test_datasource/test_maas.py @@ -4,11 +4,7 @@ import shutil import tempfile import unittest -# XXX DataSourceMAAS must be ported to oauthlib for Python 3 -import six -if not six.PY3: - from cloudinit.sources import DataSourceMAAS - +from cloudinit.sources import DataSourceMAAS from cloudinit import url_helper from ..helpers import populate_dir @@ -18,7 +14,6 @@ except ImportError: import mock -@unittest.skipIf(six.PY3, 'DataSourceMAAS must be ported to oauthlib') class TestMAASDataSource(unittest.TestCase): def setUp(self): |