* Update charm-interface-dashboard-plugin from branch 'master'
to 5fe099ee3065400e16902eadf009682e21852e9b
- 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: Id1cb42a412de130a85ec48695ecdbbadc9df7a6c
* Update charm-interface-dashboard-plugin from branch 'master'
to 06031deac8b37e912dc69f1c6d2e2634696d2547
- Migrate unit tests from testr to stestr
Change-Id: Ia113b6cc410f4140f7b49a0afe9b3520b7b58143
* Update charm-interface-dashboard-plugin from branch 'master'
- Add package information to the dashboard-plugin relation
Add 'conflicting-packages' and 'install-packages' keys to the
relation so that a plugin can notify the openstack-dashboard charm that
it needs packages installed and what original packages will conflict
with them.
Change-Id: I962ec558b8dd1f765c6104d5ae61edd41c03affe
Related-Bug: #1853851
* Update charm-interface-dashboard-plugin from branch 'master'
- Avoid pollution and false positives with tox.ini
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.
Change-Id: If749a61d82836d214eda97c5172b7677e76365d9
* Update charm-interface-dashboard-plugin from branch 'master'
- Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Note that python35-charm-jobs is retained since this charm is supported
on Xenial.
Change-Id: Ibc2def246bf2a96213b0e1429e4d97a5eb0f4406
Story: #2005924
Task: #34228
- OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.htmlhttp://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
* Update charm-interface-dashboard-plugin from branch 'master'
- Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini. This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable. Doing this allows us to easily generate coverage for our
unit tests.
An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc. It is purely focused on the unit tests.
Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.
Change-Id: I78170741219749d8bfb5eb7eb247877814fb9824