← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:bug/1635350-tests-read-cfg.d into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:bug/1635350-tests-read-cfg.d into cloud-init:master has been updated.

Commit Message changed to:

unittests: do not read system /etc/cloud/cloud.cfg.d

Many of the unit tests in test_data would inadvertantly read the
system's /etc/cloud/cloud.cfg and /etc/cloud/cloud.cfg.d.

This changes those tests to actually make use of
FilesystemMockingTestCase functionality and adds 'reRoot()' to that
class which is easier to use for at least this use case.

LP: #1635350

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/309124
-- 
Your team cloud init development team is requested to review the proposed merge of ~smoser/cloud-init:bug/1635350-tests-read-cfg.d into cloud-init:master.


Follow ups