← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:bug/fix-py26-tests-assertNone into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:bug/fix-py26-tests-assertNone into cloud-init:master has been updated.

Commit Message changed to:

tests: fix unit tests usage of assertNone on centos 6.

python2.6 unittest.TestCase does not have the assertIsNone or
assertIsNotNone.  We just have to explicitly use the unittest2
version, which we get from helpers.

The desire to use assertIsNone comes from flake8 (through hacking,
I believe).

Also, fix "{}.format('foo')" which is not valid in python2.6.

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324585
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:bug/fix-py26-tests-assertNone into cloud-init:master.


References