Closed AlexCLeduc closed 1 year ago
Coverage Report
File Stmts Miss Cover Missing phac_aspc/django excel.py 148 28 81% 17–18, 49, 71, 81, 85, 119–121, 125–129, 132–133, 162, 170, 187–188, 214, 217, 219, 221, 224, 230, 236, 255–256, 263–264 fields.py 79 16 80% 46, 67–80, 102–105, 120–125, 128–132 phac_aspc/django/admin/decorators admin_decorators.py 18 2 89% 37–38 phac_aspc/django/helpers/auth backend.py 28 28 0% 2–36 views.py 44 27 39% 21, 26–29, 34–42, 47–99 phac_aspc/django/helpers/locale code.py 8 3 62% 10, 13–14 phac_aspc/django/helpers/templatetags phac_aspc_auth.py 7 1 86% 13 phac_aspc_localization.py 11 4 64% 11, 26–29 phac_aspc/django/helpers/views wet.py 10 6 40% 12–19 phac_aspc/django/localization hooks.py 6 6 0% 2–16 phac_aspc/django/localization/decorators __init__.py 2 2 0% 4–6 localization_decorators.py 11 11 0% 4–46 phac_aspc/django/settings security.py 25 12 52% 41–69 utils.py 54 2 96% 103, 154 TOTAL 561 148 74%
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
18 | 0 :zzz: | 0 :x: | 0 :fire: | 2.014s :stopwatch: |
@Stephen-ONeil Happy to revisit using the config utils directly in the test app. I am a bit concerned we might run into things that break tests, like axes or security settings and I'd rather not spend time fighting tests right now. The priority is getting these excel utils in one of our projects and I'd like to stop copy/pasting them everywhere.
I've completely changed the way tests are run, going through a dummy django app with some really basic models setup. It was necessary to test the model utils I added, and it'll be useful for future additions as well.