Commit Graph

6 Commits

Author SHA1 Message Date
Alex Kavanagh bf41f03ee9 Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Change-Id: Ide0a96c29f72b5233fc9b154e32c054591348191
2020-09-28 12:56:59 +01:00
Hervé Beraud dc7b7713d7 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.

Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: Iab7c4a26d85c8a921a500165f99e0cdc23993940
2020-06-09 15:55:19 +02:00
Alex Kavanagh a53b14a19b Convert the charm to Python3
Change-Id: Ibdb9e582d75fd0c7cd130dddae9966aac5da3279
2019-02-13 16:24:29 +00:00
Ryan Beisner 7ff9648c2c
Fix lint in unit test
Change-Id: I5b46b36cc2ae40f683543d80a57227072c98a8c1
2018-11-01 14:58:17 -05:00
James Page aa57d5f48e Re-license charm as Apache-2.0
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: I57efcf92ebd630190d351e8203c409d9c3136211
2016-06-28 12:10:59 +01:00
Edward Hope-Morley 199440c0df First commit of cinder-backup subordinate charm 2015-10-01 17:11:59 +01:00