Skip to content

Commit

Permalink
Added workaround for daphne import
Browse files Browse the repository at this point in the history
  • Loading branch information
hkage committed Jul 27, 2023
1 parent bf270c0 commit 7bbad09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# -*- coding: utf-8 -*-
import sys
from unittest.mock import MagicMock

sys.modules['channels.testing.live'] = MagicMock()

0 comments on commit 7bbad09

Please sign in to comment.