diff --git a/tests/test_charm.py b/tests/test_charm.py index 6b03344..8b46f18 100644 --- a/tests/test_charm.py +++ b/tests/test_charm.py @@ -42,6 +42,7 @@ def test_website_relation_joined(self, open, ingress_address): harness = Harness(JujuControllerCharm) self.addCleanup(harness.cleanup) harness.begin() + harness.set_leader() relation_id = harness.add_relation('website', 'haproxy') harness.add_relation_unit(relation_id, 'haproxy/0')