Add actions and more data
This commit is contained in:
parent
4c5a33d72f
commit
63b351771a
2 changed files with 27 additions and 12 deletions
|
|
@ -55,11 +55,12 @@ def test_alertmanager():
|
|||
plain, formatted = r[0]
|
||||
|
||||
print(formatted)
|
||||
|
||||
assert (
|
||||
"FIRING" in plain
|
||||
and "Instance" in plain
|
||||
and "webserver.example.com" in plain
|
||||
and "Instance webserver.example.com down" in plain
|
||||
and "THIS IS A TEST" in plain
|
||||
and "critical" in plain
|
||||
)
|
||||
assert (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue