Skip to content

Commit

Permalink
fix: add pytestmark bus
Browse files Browse the repository at this point in the history
  • Loading branch information
fbraem committed Jul 28, 2023
1 parent a8f4e55 commit b1cde47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/tests/core/events/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from kwai.core.events.consumer import RedisConsumer
from kwai.core.events.stream import RedisMessage, RedisStream

pytestmark = pytest.mark.bus


@pytest.mark.asyncio
async def test_consumer(stream: RedisStream):
Expand Down
2 changes: 2 additions & 0 deletions backend/src/tests/core/events/test_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

from kwai.core.events.stream import RedisMessage, RedisStream

pytestmark = pytest.mark.bus


@pytest.mark.asyncio
async def test_add(stream: RedisStream):
Expand Down

0 comments on commit b1cde47

Please sign in to comment.