Python 2.6 assertIn/NotIn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Some tests are failing on 2.6 due to the following:
=======
ERROR: test_message_
-------
Traceback (most recent call last):
File "/homes/
self.
AttributeError: 'TestLoadPowerS
=======
ERROR: test_no_message (tests.
-------
Traceback (most recent call last):
File "/homes/
self.
AttributeError: 'TestLoadPowerS
-------
Ran 165 tests in 1.275s
FAILED (errors=2)
gmake: *** [test] Error 1
Seems like these were added in 2.7.
Related branches
- Scott Moser: Approve
-
Diff: 55 lines (+27/-4)2 files modifiedtests/unittests/helpers.py (+23/-0)
tests/unittests/test_handler/test_handler_power_state.py (+4/-4)
Changed in cloud-init: | |
status: | New → Fix Committed |
Changed in cloud-init: | |
status: | Fix Committed → Fix Released |
Tracked in Github Issues as https:/ /github. com/canonical/ cloud-init/ issues/ 2323