Skip to content

Commit

Permalink
deleted doubled tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Apr 5, 2024
1 parent 54e3f4a commit eaf7d28
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/units/test_proxy_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,32 +1085,6 @@ def test_success_logging_off_in_context_manager(extra_parameters):
assert len(logger.data) == 0


def test_success_logging_on_in_context_manager():
logger = MemoryLogger()

with escape(logger=logger, success_logging=True):
pass

assert len(logger.data) == 1
assert logger.data.info[0].message == 'The code block was executed successfully.'


@pytest.mark.parametrize(
'extra_parameters',
[
{'success_logging': False},
{},
],
)
def test_success_logging_off_in_context_manager(extra_parameters):
logger = MemoryLogger()

with escape(logger=logger, **extra_parameters):
pass

assert len(logger.data) == 0


def test_success_logging_on_in_simple_decorator():
logger = MemoryLogger()

Expand Down

0 comments on commit eaf7d28

Please sign in to comment.