Merge ~mthaddon/charm-k8s-unifi-poller/+git/charm-k8s-unifi-poller:test-bad-url-scheme into charm-k8s-unifi-poller:master
Proposed by
Tom Haddon
Status: | Merged |
---|---|
Approved by: | Tom Haddon |
Approved revision: | 68e1389a665c4768494fbf9daf82386fe4098959 |
Merged at revision: | df3e5b21613a6da63677cce9e0a7bdc49034b329 |
Proposed branch: | ~mthaddon/charm-k8s-unifi-poller/+git/charm-k8s-unifi-poller:test-bad-url-scheme |
Merge into: | charm-k8s-unifi-poller:master |
Diff against target: |
28 lines (+10/-0) 1 file modified
tests/unit/test_charm.py (+10/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gareth Woolridge | Approve | ||
Canonical IS Reviewers | Pending | ||
Review via email: mp+390540@code.launchpad.net |
Commit message
Add test of invalid netloc, as well as valid url to confirm we're exercising both code paths
Description of the change
Add test of invalid netloc, as well as valid url to confirm we're exercising both code paths.
Without this change we were seeing "82->76" in the missing code coverage, which means the code path where it's going from line 82 to line 76 wasn't covered. This now covers that.
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.