Commit Graph

6 Commits

Author SHA1 Message Date
Alex Kavanagh 9c12812735 Switch the charm to support py3
Some major changes:
* the charm has been rebased (from a Python perspective) to be rooted in
  the charm directory.  This is a single root.
* Imports have been changed so that the don't add lots of imports to the
  namespace of the module doing the import.
* The code that used to run at module import time has been made lazy
  such that it only has to run if the relevant functions are called.
  This includes restart_on_change parameters, the harden function and
  the parameters to the guard_map.  Appropriate changes will be
  submitted to charm-helpers.
* Several tests had to be re-written as (incorrect) mocking meant that
  text fixtures didn't actually match what the code was doing.  Thus,
  the tests were meaningless.
* This has had a net positive impact on the unit tests wrt to importing
  modules and mocking.

Change-Id: Id07d9d1caaa9b29453a63c2e49ba831071e9457f
2018-10-18 15:43:03 +01:00
James Page 709908264d Make quantum helpers support neutron 2013-10-14 12:40:59 +01:00
Adam Gandelman 8f2e62d30e rename utility scripts to what they are actually installed as. 2013-08-15 17:29:33 -07:00
Adam Gandelman 6d862769c4 Install quantum utility scripts. 2013-08-15 14:57:06 -07:00
James Page 4a9e30a095 Add region name to quantum helpers 2013-01-22 14:07:47 -06:00
James Page 488e41869d Various updates for quantum integration. 2012-12-03 11:17:36 +00:00