Skip to content

Commit

Permalink
UT: Remove unnecessary comments in test_secret_variable.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VakarisZ committed Mar 21, 2023
1 parent 20300c0 commit 3a7300a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions monkey/tests/unit_tests/common/utils/test_secret_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@


def test_secret_variable__no_logging(capsys):
# Arrange
secret_variable = SecretVariable(SECRET_TEXT)
logger = logging.getLogger(__name__)
# Act

logger.debug(secret_variable)

# Asser
captured = capsys.readouterr()
assert SECRET_TEXT not in captured.out

0 comments on commit 3a7300a

Please sign in to comment.