Skip to content

Commit 6a8a34a

Browse files
committed
[fix] Update to double quotes and test channels fix
1 parent 2363e3b commit 6a8a34a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ jobs:
7979
pip install -e .[qa,rest,selenium]
8080
pip install ${{ matrix.django-version }}
8181
sudo npm install -g prettier
82+
pip uninstall channels channels-redis daphne -y
83+
pip install -e ".[channels]"
8284
8385
- name: QA checks
8486
run: ./run-qa-checks

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
"drf-yasg~=1.21.7",
4848
],
4949
"channels": [
50-
"channels[daphne]~=4.2.0",
50+
"channels[daphne]@"
51+
"git+https://github.com/openwisp/channels.git@"
52+
"issues/2148-ChannelsLiveServerTestCase-Django52-compatible#egg=channels[daphne]",
5153
"channels_redis~=4.2.1",
5254
],
5355
"channels-test": [

tests/openwisp2/asgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
from django.core.asgi import get_asgi_application
44

5-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openwisp2.settings')
5+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "openwisp2.settings")
66
application = get_asgi_application()

0 commit comments

Comments
 (0)