Skip to content

Commit

Permalink
tests(): Assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
merkata committed Sep 25, 2024
1 parent f686f21 commit 873adc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ async def test_lifecycle_before_relations(app: ops.model.Application, ops_test:
# Mypy has difficulty with ActiveStatus
assert unit.workload_status == ops.model.BlockedStatus.name # type: ignore
# Assert part of the message
assert "Missing relation" in unit.workload_status_message
assert "Database relation not found" in ops.model.BlockedStatus.message # type: ignore

0 comments on commit 873adc5

Please sign in to comment.