Skip to content

Commit

Permalink
better name for remote app in test
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroPasotti committed Nov 25, 2024
1 parent cd0cd00 commit d898c09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/scenario/test_grafana_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def test_remote_write_dashboard_uid_consumer():
}

remote_write_relation = Relation(
remote_app_name="prometheus",
endpoint="send-remote-write",
remote_app_data={"datasource_uids": json.dumps({"grafana": datasource_uids})},
)
Expand All @@ -99,5 +100,5 @@ def __init__(self, framework: Framework):
charm = mgr.charm
# THEN we can access prometheus' datasource uids
assert charm.remote_write.get_grafana_datasource_uids() == {
"remote": {"grafana": datasource_uids}
"prometheus": {"grafana": datasource_uids}
}

0 comments on commit d898c09

Please sign in to comment.