Merge ~przemeklal/charm-local-users:add-tests into charm-local-users:main
Proposed by
Przemyslaw Lal
Status: | Merged |
---|---|
Approved by: | James Troup |
Approved revision: | c03ad89ec2e0abd0290e3fd229f11e0fa7082a44 |
Merged at revision: | 3fcfb4b15c5a94f0eb7dd29c899ae5e2dfb6a57f |
Proposed branch: | ~przemeklal/charm-local-users:add-tests |
Merge into: | charm-local-users:main |
Diff against target: |
316 lines (+242/-3) 6 files modified
.gitignore (+1/-0) run_tests (+1/-0) src/lib/local_users.py (+6/-3) tests/__init__.py (+7/-0) tests/test_charm.py (+73/-0) tests/test_local_users.py (+154/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
BootStack Reviewers | Pending | ||
BootStack Reviewers | Pending | ||
Review via email: mp+412759@code.launchpad.net |
Commit message
Add tests and fix minor issues detected by tests
Signed-off-by: Przemysław Lal <email address hidden>
To post a comment you must log in.
Tests are passing, total coverage is 74%:
Name Stmts Miss Branch BrPart Cover Missing ------- ------- ------- ------- ------- ------- ------- ------- ----- local_users. py 113 22 32 2 78% 35-43, 52-61, 66-67, 82-84, 101-102, 141->exit ------- ------- ------- ------- ------- ------- ------- ------- -----
-------
src/__init__.py 0 0 0 0 100%
src/charm.py 77 21 34 7 69% 55, 68->72, 77->90, 79-84, 111, 113-120, 127-129, 139-145, 149
src/lib/__init__.py 0 0 0 0 100%
src/lib/
-------
TOTAL 190 43 66 9 74%