diff options
author | Scott Moser <smoser@brickies.net> | 2017-05-24 21:33:30 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-05-25 09:33:25 -0400 |
commit | e5b2c011440aefe036c71a8c5e8ec547cc80f270 (patch) | |
tree | 566b817a5889775b81cf33420027a8bca237db23 /tests/unittests/test_helpers.py | |
parent | 9e01cca6a90a30e1b8cf454467c002b40f22dff9 (diff) | |
download | vyos-cloud-init-e5b2c011440aefe036c71a8c5e8ec547cc80f270.tar.gz vyos-cloud-init-e5b2c011440aefe036c71a8c5e8ec547cc80f270.zip |
python2.6: fix unit tests usage of assertNone and format.
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.
Diffstat (limited to 'tests/unittests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions