Skip to content

Commit

Permalink
behave: make the cleanup silent in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Sep 30, 2024
1 parent 4590ea2 commit 63b7126
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions behave/features/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import requests

from testlib import Mock
from testlib import Mock, no_output


def _random_string(length):
Expand Down Expand Up @@ -74,4 +74,5 @@ def before_scenario(context, _scenario):

def after_scenario(context, _scenario):
""" execute after - and for each - scenario """
context.mock.clean()
with no_output():
context.mock.clean()

0 comments on commit 63b7126

Please sign in to comment.