Skip to content

Commit

Permalink
Merge pull request #40 from barrettj12/test-set-leader
Browse files Browse the repository at this point in the history
set_leader in test_website_relation_joined
  • Loading branch information
barrettj12 authored Oct 17, 2023
2 parents 6b98013 + de546ee commit 4e2dee9
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 4e2dee9

Please sign in to comment.