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 /cloudinit/net/tests | |
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 'cloudinit/net/tests')
-rw-r--r-- | cloudinit/net/tests/test_dhcp.py | 2 | ||||
-rw-r--r-- | cloudinit/net/tests/test_init.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/net/tests/test_dhcp.py b/cloudinit/net/tests/test_dhcp.py index 47d8d461..4a37e98a 100644 --- a/cloudinit/net/tests/test_dhcp.py +++ b/cloudinit/net/tests/test_dhcp.py @@ -8,7 +8,7 @@ from cloudinit.net.dhcp import ( InvalidDHCPLeaseFileError, maybe_perform_dhcp_discovery, parse_dhcp_lease_file, dhcp_discovery) from cloudinit.util import ensure_file, write_file -from tests.unittests.helpers import CiTestCase +from cloudinit.tests.helpers import CiTestCase class TestParseDHCPLeasesFile(CiTestCase): diff --git a/cloudinit/net/tests/test_init.py b/cloudinit/net/tests/test_init.py index cc052a7d..8cb4114e 100644 --- a/cloudinit/net/tests/test_init.py +++ b/cloudinit/net/tests/test_init.py @@ -7,7 +7,7 @@ import os import cloudinit.net as net from cloudinit.util import ensure_file, write_file, ProcessExecutionError -from tests.unittests.helpers import CiTestCase +from cloudinit.tests.helpers import CiTestCase class TestSysDevPath(CiTestCase): |