Skip to content

Commit 914aa8f

Browse files
committed
Fixed test setup.
1 parent 2814521 commit 914aa8f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ format: .venv
2929
.PHONY: format
3030

3131
test: .venv
32-
@$(VENV_PATH)/bin/tox -e py2.7,py3.7
32+
@$(VENV_PATH)/bin/tox -e py3.9
3333
.PHONY: test
3434

3535
test-all: .venv
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import pytest
2+
3+
pytest.importorskip("pytest_asyncio")

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ deps =
111111
py3.4: colorama==0.4.1
112112
py3.4: watchdog==0.10.7
113113

114+
{py3.8,py3.9,py3.10}: pytest-asyncio
115+
114116
django-{1.11,2.0,2.1,2.2,3.0,3.1,3.2}: djangorestframework>=3.0.0,<4.0.0
115117

116118
{py3.7,py3.8,py3.9,py3.10}-django-{1.11,2.0,2.1,2.2,3.0,3.1,3.2}: channels[daphne]>2

0 commit comments

Comments
 (0)