charm-ceph-mon/unit_tests
Alex Kavanagh edfd6a55af Tighten up the leader_set(..) usage to handle any errors
This stops leader_set from throwing backtraces, and instead logs the
error and continues as though the charm is not the leader (which is the
case when leader_set(...) fails).

Changed the py35 tox job to invoke py3 (to allow it to also test under
py3.6 on artful+).

Note that the pep8 check is still py27, so the additional # NOQA is
to handle Py2 not having FileNotFoundError.

Change-Id: Ic25d29983db9a0738d83e66de4673bb50594b599
2018-05-08 12:13:23 +01:00
..
__init__.py Add get-health action to the Ceph mon charm 2018-03-22 18:41:02 +11:00
ceph_crit.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_nodeepscrub.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_ok.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_params.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_warn.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
test_actions_mon.py Add get-health action to the Ceph mon charm 2018-03-22 18:41:02 +11:00
test_ceph_hooks.py Ensure remote_unit is only used in relation hooks 2017-12-14 10:02:04 +00:00
test_ceph_networking.py Add support for user-provided ceph config 2016-07-03 16:17:23 +01:00
test_ceph_ops.py Sync charms.ceph to get code cleanup changes 2017-08-14 14:50:39 +01:00
test_check_ceph_status.py Use assertRegex instead of assertRegexpMatches 2018-01-02 14:05:42 +07:00
test_status.py Add ceph-bootstrap relation for ceph charm migration 2017-10-02 21:11:16 -07:00
test_upgrade.py remove trusty requirement to allow xenial upgrades 2017-08-21 16:43:26 +02:00
test_utils.py Tighten up the leader_set(..) usage to handle any errors 2018-05-08 12:13:23 +01:00