PHACDataHub / django-phac_aspc-helpers

Provides a series of helpers to provide a consistent experience accross PHAC-ASPC's Django based projects.
MIT License
0 stars 0 forks source link

fix: replace comma-separated fields' lists with tuples #89

Closed AlexCLeduc closed 7 months ago

AlexCLeduc commented 7 months ago

tuples have a ton of advantages, I should have used them to begin with

github-actions[bot] commented 7 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
phac_aspc
   rules.py29293%15, 54
phac_aspc/django
   comma_separated_field.py902374%23, 36, 58–70, 77, 86–87, 97, 102, 105, 121–124, 127–128, 138–139, 147–157
   excel.py2102887%18–19, 50, 82, 86, 120–122, 126–130, 133–134, 163, 171, 194, 197, 297, 300, 302, 304, 307, 313, 343–344, 351–352, 382–383
   fields.py841681%47, 68–81, 103–106, 121–126, 129–133
phac_aspc/django/admin/decorators
   admin_decorators.py18289%37–38
phac_aspc/django/helpers
   jinja_dtl_interop_utils.py7186%21
phac_aspc/django/helpers/auth
   backend.py28280%2–36
   views.py442739%22, 27–30, 35–43, 48–100
phac_aspc/django/helpers/locale
   code.py8362%10, 13–14
phac_aspc/django/helpers/logging
   configure_logging.py31197%124
   json_post_handlers.py27389%8–9, 61
   utils.py11282%43, 48
phac_aspc/django/helpers/templatetags
   phac_aspc_auth.py7186%14
   phac_aspc_localization.py11464%11, 26–29
phac_aspc/django/helpers/views
   wet.py10640%12–19
phac_aspc/django/localization
   hooks.py660%2–16
phac_aspc/django/localization/decorators
   __init__.py220%4–6
   localization_decorators.py11110%4–46
phac_aspc/django/settings
   logging.py271544%29–37, 47–66
   security.py21957%34–45
phac_aspc/django/settings/utils
   configure_settings_for_tests.py3233%15–19
TOTAL91419279% 

Tests Skipped Failures Errors Time
47 0 :zzz: 0 :x: 0 :fire: 1.876s :stopwatch: