Skip to content

Commit

Permalink
refactoring 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmateusribeiro committed Jun 2, 2024
1 parent 18e36e0 commit 975f18a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/step_defs/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def pytest_addoption(parser: 'pytest.Parser') -> None:
help="Boolean to indicate if AWS should be mocked"
)

@pytest.fixture(scope='module')
def mock_aws_flag(request: 'pytest.FixtureRequest') -> bool:
@pytest.fixture(scope='module', name='mock_aws_flag')
def get_mock_aws_flag(request: 'pytest.FixtureRequest') -> bool:
"""
Fixture to retrieve the value of the --mock-aws option.
Expand All @@ -39,8 +39,8 @@ def mock_aws_flag(request: 'pytest.FixtureRequest') -> bool:

return mock_aws_flag_value

@pytest.fixture(scope='module')
def log() -> CustomLogger:
@pytest.fixture(scope='module', name='log')
def get_log() -> CustomLogger:
"""
Fixture to create a CustomLogger instance.
Expand Down

0 comments on commit 975f18a

Please sign in to comment.