[tempest] Fix misspelt relation name in tests
Change relation name in tempest tests for grafana as grafana-dashboard. This is deducted by more checks in ops 1.12.0 and hence the py3 failures. Pass TEST_JUJU3 to tox -e func so that python-libjuju 3.x will be used for zaza tests. Change-Id: Ia99236a847af2b9ed080ddc6405dcff8b817ea30
This commit is contained in:
@@ -184,7 +184,7 @@ class TestTempestOperatorCharm(test_utils.CharmTestCase):
|
||||
|
||||
def add_grafana_dashboard_relation(self, harness):
|
||||
"""Add grafana dashboard relation."""
|
||||
rel_id = harness.add_relation("grafana_dashboard", "grafana")
|
||||
rel_id = harness.add_relation("grafana-dashboard", "grafana")
|
||||
harness.add_relation_unit(rel_id, "grafana/0")
|
||||
harness.charm.grafana.interface = Mock()
|
||||
return rel_id
|
||||
|
Reference in New Issue
Block a user