Skip to content

Commit 37f0054

Browse files
committed
try fix tests
1 parent 684bc17 commit 37f0054

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ test-all:
152152
# todo clean this up, rerunning a lot of tests
153153
poetry run ./manage.py makemigrations
154154
poetry run pytest --cov-append
155-
poetry run pip install enum-properties
155+
poetry run pip install properties
156156
poetry run ./manage.py makemigrations
157157
poetry run pytest --cov-append
158-
poetry run pip install djangorestframework
158+
poetry run install -E rest
159159
poetry run ./manage.py makemigrations
160160
poetry run pytest --cov-append
161-
poetry run pip install django-filter
161+
poetry run pip install filters
162162
poetry run ./manage.py makemigrations
163163
poetry run pytest --cov-append
164164

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ packages = [{ include = "django_enum" }]
5353
[project.optional-dependencies]
5454
properties = ["enum-properties>=2.0.0"]
5555
filters = ["django-filter>=21"]
56-
djangorestframework = ["djangorestframework>=3.9,<4.0"]
56+
rest = ["djangorestframework>=3.9,<4.0"]
5757

5858

5959
[project.urls]

0 commit comments

Comments
 (0)