← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:bug/run_test_net into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:bug/run_test_net into cloud-init:master has been updated.

Commit Message changed to:

tests: remove executable bit on test_net, so it runs, and fix it.

The test_user_data_normalize and test_net files had gotten
the executable bit set, and thus are skipped by nose by default.
We could set run with the --exe flag, but they should not have
gotten this way.

Other changes here:
 * replace TempDirTestCase with CiTestCase, which has some nice
   tmp_dir() and tmp_path() functions.  Going forward the intent
   is to have CiTestCase be the base test case for tests.
 * test_net: switch to CiTestCase and fix usage that was
   silently broken, because of exe bit.
 * populate_dir: return the list of files that it writes rather
   than having no return value.
 * CiTestCase:
    * support tmp_path("foo") that returns a full path to 'foo'
      under a tmpdir.
    * add tmp_dir() to get a temp dir and clean up.

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


Follow ups