diff --git a/justfile b/justfile index 808a090..daee7b1 100644 --- a/justfile +++ b/justfile @@ -46,3 +46,7 @@ mount-docker-backup *args: restore *args: docker compose exec app_db scripts/restore {{args}} + +test *args: + docker compose exec app pytest {{args}} + diff --git a/src/constants.py b/src/constants.py index 9497c37..630ec26 100644 --- a/src/constants.py +++ b/src/constants.py @@ -11,8 +11,8 @@ class Environment(str, Enum): LOCAL = "LOCAL" - STAGING = "STAGING" TESTING = "TESTING" + STAGING = "STAGING" PRODUCTION = "PRODUCTION" @property diff --git a/src/utils.py b/src/utils.py index f94b465..47d4092 100644 --- a/src/utils.py +++ b/src/utils.py @@ -3,6 +3,7 @@ import string logger = logging.getLogger(__name__) + ALPHA_NUM = string.ascii_letters + string.digits