Unit tests fail for KeyError in MagicMock of CompareOpenStackReleases
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OpenStack Designate-Bind Charm | Status tracked in Trunk | |||||
2024.1 |
Fix Committed
|
Undecided
|
Unassigned | |||
Trunk |
Fix Committed
|
Undecided
|
Jadon Naas |
Bug Description
When running unit tests against the master branch of the OpenStack Designate Bind charm the 13 tests fail with errors like the following:
unit_tests.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "./charm-
designate_
^^^
File "./charm-
_singleton = get_charm_
File "./charm-
return (_get_charm_
File "./charm-
cls = _releases[
KeyError: "<MagicMock name='mock.
This failure is related to this change in charms.openstack - https:/
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- designate- bind/+/ 920108
Review: https:/