diff --git a/tests/unit/test_dashboard_consumer.py b/tests/unit/test_dashboard_consumer.py index 05d3d15e..78f6166c 100644 --- a/tests/unit/test_dashboard_consumer.py +++ b/tests/unit/test_dashboard_consumer.py @@ -590,8 +590,7 @@ def test_consumer_error_on_bad_json(self): "dashboards": json.dumps(bad_data), }, ) - self.assertIn("Invalid JSON in Grafana dashboard 'file:tester'", "\n".join(cm.output) - ) + self.assertIn("Invalid JSON in Grafana dashboard 'file:tester'", "\n".join(cm.output)) def test_consumer_templates_datasource(self): self.assertEqual(len(self.harness.charm.grafana_consumer._stored.dashboards), 0)