Merge ~jasonzio/cloud-init:mockSLG into cloud-init:master
Proposed by
Jason Zions
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | e42320f4baf9764d85c41a97afd17ae4de368ee1 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~jasonzio/cloud-init:mockSLG |
Merge into: | cloud-init:master |
Diff against target: |
38 lines (+7/-1) 2 files modified
tests/unittests/test_datasource/test_azure.py (+3/-0) tests/unittests/test_net.py (+4/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper | Approve | ||
Dan Watkins | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email:
|
Commit message
test_azure: mock util.SeLinuxGuard where needed
Mock util.SeLinuxGuard to do nothing within tests that mock functions
used by the guard, when those mocks confuse the guard. This has no
impact when executing unit tests on systems which do not enable selinux
(e.g. Ubuntu).
LP: #1825253
To post a comment you must log in.
FAILED: Continuous integration, rev:e42320f4baf 9764d85c41a97af d17ae4de368ee1 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 681/
https:/
Executed test runs:
FAILED: Checkout
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 681/rebuild
https:/