diff options
author | Aleksander Baranowski <aleksander.baranowski@yahoo.pl> | 2021-08-05 18:32:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 11:32:36 -0500 |
commit | 3d9c862b6ded798031fad827328fa437bc14ac97 (patch) | |
tree | 8de4fae6a64e05f95329baaf51dd384a6baf59d3 /tests/unittests | |
parent | 758acf976f2cb67a85411467fa5fca2ea17a2283 (diff) | |
download | vyos-cloud-init-3d9c862b6ded798031fad827328fa437bc14ac97.tar.gz vyos-cloud-init-3d9c862b6ded798031fad827328fa437bc14ac97.zip |
Add support for EuroLinux 7 && EuroLinux 8 (#957)
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_cli.py | 3 | ||||
-rw-r--r-- | tests/unittests/test_net.py | 1 | ||||
-rw-r--r-- | tests/unittests/test_render_cloudcfg.py | 6 |
3 files changed, 6 insertions, 4 deletions
diff --git a/tests/unittests/test_cli.py b/tests/unittests/test_cli.py index 90d8f7b9..a39e1d0c 100644 --- a/tests/unittests/test_cli.py +++ b/tests/unittests/test_cli.py @@ -225,7 +225,8 @@ class TestCLI(test_helpers.FilesystemMockingTestCase): expected_doc_sections = [ '**Supported distros:** all', ('**Supported distros:** almalinux, alpine, centos, debian, ' - 'fedora, opensuse, photon, rhel, rocky, sles, ubuntu, virtuozzo'), + 'eurolinux, fedora, opensuse, photon, rhel, rocky, sles, ubuntu, ' + 'virtuozzo'), '**Config schema**:\n **resize_rootfs:** (true/false/noblock)', '**Examples**::\n\n runcmd:\n - [ ls, -l, / ]\n' ] diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py index 43e209c1..fc77b11e 100644 --- a/tests/unittests/test_net.py +++ b/tests/unittests/test_net.py @@ -5308,6 +5308,7 @@ class TestNetRenderers(CiTestCase): ('opensuse-tumbleweed', '', ''), ('sles', '', ''), ('centos', '', ''), + ('eurolinux', '', ''), ('fedora', '', ''), ('redhat', '', ''), ] diff --git a/tests/unittests/test_render_cloudcfg.py b/tests/unittests/test_render_cloudcfg.py index 275879af..00d50e66 100644 --- a/tests/unittests/test_render_cloudcfg.py +++ b/tests/unittests/test_render_cloudcfg.py @@ -9,9 +9,9 @@ from cloudinit import subp from cloudinit import util # TODO(Look to align with tools.render-cloudcfg or cloudinit.distos.OSFAMILIES) -DISTRO_VARIANTS = ["amazon", "arch", "centos", "debian", "fedora", "freebsd", - "netbsd", "openbsd", "photon", "rhel", "suse", "ubuntu", - "unknown"] +DISTRO_VARIANTS = ["amazon", "arch", "centos", "debian", "eurolinux", "fedora", + "freebsd", "netbsd", "openbsd", "photon", "rhel", "suse", + "ubuntu", "unknown"] @pytest.mark.allow_subp_for(sys.executable) |