We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d63cd4 commit 42fec20Copy full SHA for 42fec20
tests/functional/test_logger_utils.py
@@ -6,7 +6,6 @@
6
from enum import Enum
7
8
import pytest
9
-from pytest_mock import MockerFixture
10
11
from aws_lambda_powertools import Logger
12
from aws_lambda_powertools.logging import formatter, utils
@@ -45,6 +44,7 @@ def capture_multiple_logging_statements_output(stdout):
45
44
return [json.loads(line.strip()) for line in stdout.getvalue().split("\n") if line]
46
47
+@pytest.fixture
48
def service_name():
49
chars = string.ascii_letters + string.digits
50
return "".join(random.SystemRandom().choice(chars) for _ in range(15))
0 commit comments