Merge ~ines-almeida/launchpad:fetch-service-option-unit-test-fix into launchpad:master
Status: | Merged |
---|---|
Approved by: | Ines Almeida |
Approved revision: | 28d8ddee822897c6265b06fce62d2794b53e1ac5 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ines-almeida/launchpad:fetch-service-option-unit-test-fix |
Merge into: | launchpad:master |
Diff against target: |
17 lines (+6/-0) 1 file modified
lib/lp/snappy/browser/tests/test_snap.py (+6/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+462153@code.launchpad.net |
Commit message
test: ensure feature flag is ON during test_admin_snap unit test
Description of the change
This was not an issue when the UI MP was created because the `snap.use_
Since we decided to hide it behind the feature flag in the API MP, this test fails because the feature flag is apparently "OFF" by the end of the test, by some odd reason.
This seems to be specifically a test set up/dependencies issue, that we'll need to look further into.
Currently, this is blocking other work, so my proposition is to simply ensure the feature flag after the browser functions run, and fix the inherent issue as a different task (https:/
Relevant test failure log: http:// lpbuildbot. canonical. com/builders/ lp-devel- focal/builds/ 504/steps/ shell/logs/ summary