Skip to content

Commit

Permalink
set_leader in test_website_relation_joined
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettj12 committed Oct 17, 2023
1 parent 6b98013 commit de546ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit de546ee

Please sign in to comment.