Add loghandler helper to unitests
Bug #1692794 reported by
Chad Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Chad Smith |
Bug Description
We need a simple facility for unit tests to inspect and assert on logging which is generated by the test runs.
Related branches
~chad.smith/cloud-init:cc-ntp-testing
- Scott Moser: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 625 lines (+188/-304)3 files modifiedcloudinit/config/cc_ntp.py (+10/-15)
tests/unittests/helpers.py (+26/-0)
tests/unittests/test_handler/test_handler_ntp.py (+152/-289)
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
importance: | Undecided → Medium |
To post a comment you must log in.
This bug is believed to be fixed in cloud-init in 17.1. If this is still a problem for you, please make a comment and set the state back to New
Thank you.