cloud-init-dev team mailing list archive
Mailing list archive
[Merge] ~daniel-thewatkins/cloud-init/+git/cloud-init:tests into cloud-init:master
Dan Watkins has proposed merging ~daniel-thewatkins/cloud-init/+git/cloud-init:tests into cloud-init:master.
test_ds_identify: Don't mutate otherwise-static test data
When running tests in a random order, this was causing failures due to
breaking preconditions for other tests.
cloud-init commiters (cloud-init-dev)
For more details, see:
Your team cloud-init commiters is requested to review the proposed merge of ~daniel-thewatkins/cloud-init/+git/cloud-init:tests into cloud-init:master.
diff --git a/tests/unittests/test_ds_identify.py b/tests/unittests/test_ds_identify.py
index 756b4fb..d00c1b4 100644
@@ -441,7 +441,7 @@ class TestDsIdentify(DsIdentifyBase):
nova does not identify itself on platforms other than intel.
- data = VALID_CFG['OpenStack'].copy()
+ data = copy.deepcopy(VALID_CFG['OpenStack'])