Skip to content

Commit

Permalink
Fixed logger test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilbert09 committed Oct 29, 2024
1 parent 5381953 commit b451f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/temporal/tests/batch_exports/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _closed(self):
return self.producer._closed


@pytest_asyncio.fixture(loop_scope="session")
@pytest_asyncio.fixture(loop_scope="module")
async def producer(event_loop):
"""Yield a CaptureKafkaProducer to inspect entries captured.
Expand All @@ -133,7 +133,7 @@ async def producer(event_loop):
await producer.stop()


@pytest_asyncio.fixture(autouse=True, loop_scope="session")
@pytest_asyncio.fixture(autouse=True, loop_scope="module")
async def configure(log_capture, queue, producer):
"""Configure StructLog logging for testing.
Expand Down

0 comments on commit b451f92

Please sign in to comment.