Every reactive charm that uses charms.openstack and implements unit
testing needs to mock charmhelpers, as otherwise the tests blow up.
This patch uses the mocking of charmhelpers in charms.openstack so that
a charm layer can just import test_mocks and charmhelpers will be mocked
out along with setting up a default
charmhelpers.c.o.u.OPENSTACK_RELEASES so that when an OpenStackCharm()
derived charm class won't fail on definition.
Change-Id: I453d1f57d723a2519f6191f585fa378150fc61d8
Related-Bug: #1693017
Depends-On: I5ac40617ee30e5f421ec16fc7592177a5e6aa166
This charm was written when the reactive framework was in its infancy
and the layers for Openstack had not been written. This change
updates the charm to use the new layout and removes code which now
resides in a shared layer. The unit tests have also been updated and
extended.
Change-Id: Ib75710021aa48fb739c6fbca8ef52bf296d2a26a
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.
Change-Id: I1135f2cc3d4da7f9ab5cdd5535053ccc0a4f897a