summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-12-09 18:11:18 -0500
committerGitHub <noreply@github.com>2020-12-09 18:11:18 -0500
commit05216aa37e1fad32433dbea102dc3ceae7d8565d (patch)
treecc705070832bbba8f0776bfa43041bb631d8a4da /tox.ini
parent17ca02e10623b12065532b26de9cefcccee0062c (diff)
downloadcloud-init-git-05216aa37e1fad32433dbea102dc3ceae7d8565d.tar.gz
integration_tests: add test for LP: #1898997 (#713)
integration_tests: add test for LP: #1898997 This introduces the `lxd_config_dict` mark, used to specify a free-form configuration dict to LXD for tests which only run there; and the `not_xenial` and `not_bionic` marks, used to skip tests on xenial/bionic via a basic release skipping mechanism. This also bumps the pycloudlib commit we depend upon, as the latest commit includes the changes required for LXD network config to work. (The `lxd_config_dict` change further complicated `_client`, so a minor refactoring is applied.)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 1841247b..2e242551 100644
--- a/tox.ini
+++ b/tox.ini
@@ -173,8 +173,11 @@ markers =
gce: test will only run on GCE platform
azure: test will only run on Azure platform
oci: test will only run on OCI platform
+ lxd_config_dict: set the config_dict passed on LXD instance creation
lxd_container: test will only run in LXD container
lxd_vm: test will only run in LXD VM
+ not_xenial: test cannot run on the xenial release
+ not_bionic: test cannot run on the bionic release
no_container: test cannot run in a container
user_data: the user data to be passed to the test instance
instance_name: the name to be used for the test instance