~wesley-wiedenmeier/cloud-init:integration-testing-mro

Last commit made on 2017-03-17
Get this branch:
git clone -b integration-testing-mro https://git.launchpad.net/~wesley-wiedenmeier/cloud-init
Only Wesley Wiedenmeier can upload to this branch. If you are Wesley Wiedenmeier please log in for upload directions.

Branch merges

Branch information

Name:
integration-testing-mro
Repository:
lp:~wesley-wiedenmeier/cloud-init

Recent commits

b9f6790... by Wesley Wiedenmeier

Integration Testing: improve testcase subclassing

 - Use inspect.getmro(mod) rather than mod.__bases__ to test if a potential
   testcase class inherits from CloudTestCase
 - This allows testcases to be based on CloudTestCase indirectly, adding
   greater flexibility to the structure of test classes

d97ca2c... by Joshua Powers

gitignore: adding doc/rtd_html

When running tox -e doc it produces the complete read the docs
output and places it in doc/rtd_html. This is not ignored by git
and shows up as uncommited changes.

4783ac0... by Joshua Powers

doc: add instructions for running integration tests via tox.

Add instructions on how to run the cii tests to the docs.

66dfb09... by Scott Moser

test: avoid differences in 'date' output due to daylight savings.

When testing for timezone we were testing that 'date' output would
contain 'HDT' for the current time. But after a 'spring forward', the
current time started to have 'HST'.

Instead of asking 'date' for the timezone that applies now, ask it
for a static date.

482b274... by Jeremy Melvin <email address hidden>

Fix chef config module in omnibus install.

Omnibus installation of chef was broken under python3.

LP: #1583837

9044a05... by Wesley Wiedenmeier

Add feature flags to cloudinit.version.

This exposes a mechanism for users of cloud-init to determine if
a version has a specific feature, and adds documentation to that affect.
We list an existing feature NETWORK_CONFIG_V1 as an example.

Also add a 'features' subcommand for listing these to stdout.

df88d29... by Scott Moser

tox: add a citest environment

Because the tests/cloud_tests require specific version of pylxd
adding a tox environment makes that much easier.
Additionally it makes calling it at least a bit simpler.

Example:
  tox -e citest -- run -v -n zesty --deb=cloud-init_all.deb

75a4215... by Scott Moser

Further fix regression to support 'password' for default user.

The adjusted change did not support
 #cloud-config
 password: passw0rd

This correctly fixes that regression.

021ed9c... by Scott Moser

fix regression when no chpasswd/list was provided.

This regression was caused by my rework of Sergio's branch.
The change now still works when there is no chpasswd/list provided.

7f2b510... by Serg Lystopad

Support chpasswd/list being a list in addition to a string.

cc_set_passwords previously supported 'list' as a multiline string:
  chpasswd:
    list: |
      user:pass1
      user015:R

This patch adds support for user/pairs as a list:
  chpasswd:
    list:
      - user:pass1
      - user015:R

LP: #1665694