summaryrefslogtreecommitdiff
path: root/tests/unittests/test_runs
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-05-24 21:33:30 -0400
committerScott Moser <smoser@brickies.net>2017-05-25 09:33:25 -0400
commite5b2c011440aefe036c71a8c5e8ec547cc80f270 (patch)
tree566b817a5889775b81cf33420027a8bca237db23 /tests/unittests/test_runs
parent9e01cca6a90a30e1b8cf454467c002b40f22dff9 (diff)
downloadvyos-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_runs')
0 files changed, 0 insertions, 0 deletions