mirror of
https://github.com/caronc/apprise.git
synced 2025-08-15 02:42:35 +02:00
Refactor Test Code for Efficiency and Quality (#1100)
This commit is contained in:
@ -381,7 +381,7 @@ def test_apprise_secure_logging(mock_post):
|
||||
assert a.add("json://user:pass1$-3!@localhost") is True
|
||||
|
||||
# Our servers should carry this flag
|
||||
a[0].asset.secure_logging is True
|
||||
assert a[0].asset.secure_logging is True
|
||||
|
||||
logs = re.split(r'\r*\n', stream.getvalue().rstrip())
|
||||
assert len(logs) == 1
|
||||
|
Reference in New Issue
Block a user