#88 #89 : use pytest + reorganise settings (#92)

- !88 pytest on existing tests
- !89 reorganise settings (! see notes for deployment)

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: rc/aircox#92
This commit is contained in:
Thomas Kairos
2023-03-28 14:40:49 +02:00
parent 4bebc56a28
commit 0e183099ed
31 changed files with 511 additions and 368 deletions

View File

@ -1,8 +1,7 @@
import datetime
import django.utils.timezone as tz
__all__ = [
__all__ = (
"Redirect",
"redirect",
"date_range",
@ -10,9 +9,10 @@ __all__ = [
"date_or_default",
"to_timedelta",
"seconds_to_time",
]
)
# FIXME: usage & why we don't use Django's
class Redirect(Exception):
"""Redirect exception -- see `redirect()`."""