charms.openstack/unit_tests
Alex Kavanagh 92d3f14919 Add 'declarative helpers'
Declarative helpers takes (most) of the boiler plate of writing an
OpenStack charm and places it into this module.  This simplified the
writing, and testing, of an OpenStack charm when using reactive and the
layered approach.

This change makes a BREAKING change to existing charms written using
charms.openstack.  This is that the 'assess-status' hook that was
originally in layer-openstack has been removed and made optional via the
declarative helpers.  This was to maintain consistency with the
declarative helpers and also to allow charm authors to write their own
'assess-status' state handler as required.

Thus there is also a change to (charm-)layer-openstack which removes the
wired in handler under the same topic.

Change-Id: I3c74f60bb4ed7901828902118697f310622c4061
2016-09-08 11:54:02 +00:00
..
__init__.py Add 'declarative helpers' 2016-09-08 11:54:02 +00:00
test_charms_openstack_adapters.py Add 'declarative helpers' 2016-09-08 11:54:02 +00:00
test_charms_openstack_charm.py Add 'declarative helpers' 2016-09-08 11:54:02 +00:00
test_charms_openstack_ip.py Add license headers to all source files 2016-06-28 11:13:14 +01:00
utils.py Update unit tests and doc strings 2016-06-22 13:28:53 +00:00