Skip to content

Commit

Permalink
Add just test
Browse files Browse the repository at this point in the history
* added test to justfile and some minor cosmetics for better readability

* added args to "just test"

---------

Co-authored-by: Christof Kälin <[email protected]>
  • Loading branch information
ckpinguin and ckpinguin authored Feb 19, 2024
1 parent 1ad9272 commit 9d548b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

2 changes: 1 addition & 1 deletion src/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

class Environment(str, Enum):
LOCAL = "LOCAL"
STAGING = "STAGING"
TESTING = "TESTING"
STAGING = "STAGING"
PRODUCTION = "PRODUCTION"

@property
Expand Down
1 change: 1 addition & 0 deletions src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import string

logger = logging.getLogger(__name__)

ALPHA_NUM = string.ascii_letters + string.digits


Expand Down

0 comments on commit 9d548b2

Please sign in to comment.