diff options
author | Lars Kellogg-Stedman <lars@redhat.com> | 2017-09-05 11:03:59 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2017-09-05 11:03:59 -0600 |
commit | a3649e03206a3596131413956ea7ecc18790ec73 (patch) | |
tree | c65363a90f8e0734e3fcccc1380c04505b1297dc /tests/unittests/test_sshutil.py | |
parent | 653c0b4cfc6325382a3fb93a2185ab74f9cee62a (diff) | |
download | vyos-cloud-init-a3649e03206a3596131413956ea7ecc18790ec73.tar.gz vyos-cloud-init-a3649e03206a3596131413956ea7ecc18790ec73.zip |
relocate tests/unittests/helpers.py to cloudinit/tests
This moves the base test case classes into into cloudinit/tests and
updates all the corresponding imports.
Diffstat (limited to 'tests/unittests/test_sshutil.py')
-rw-r--r-- | tests/unittests/test_sshutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/test_sshutil.py b/tests/unittests/test_sshutil.py index 991f45a6..2a8e6abe 100644 --- a/tests/unittests/test_sshutil.py +++ b/tests/unittests/test_sshutil.py @@ -2,8 +2,8 @@ from mock import patch -from . import helpers as test_helpers from cloudinit import ssh_util +from cloudinit.tests import helpers as test_helpers VALID_CONTENT = { @@ -57,6 +57,7 @@ TEST_OPTIONS = ( class TestAuthKeyLineParser(test_helpers.TestCase): + def test_simple_parse(self): # test key line with common 3 fields (keytype, base64, comment) parser = ssh_util.AuthKeyLineParser() |