Skip to content

Commit

Permalink
Fix using bools with libjuju
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkavanagh committed Sep 25, 2019
1 parent 8aa4102 commit 89980f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zaza/openstack/charm_tests/policyd/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ def tearDown(self):
self._set_config_and_wait(False)

def _set_config_and_wait(self, state):
s = "true" if state else "false"
zaza_model.set_application_config(self.application_name,
{"use-policyd-override": state})
{"use-policyd-override": s})
zaza_model.block_until_all_units_idle()

def _make_zip_file_from(self, name, files):
Expand Down

0 comments on commit 89980f1

Please sign in to comment.