charms.openstack/charms_openstack
James Page b903273d28
mocks: Preserve CompareOpenStackReleases
Global mocking causes this to become a MagicMock, however we need
to preserve this to ensure that sorting of the releases in tests
continues to work properly.

Drive-by fix for Python 3.12 compatibility in assert usage.

Change-Id: I07aa60c270c5966018931c25ffe66cd3c89a77a3
2024-08-02 13:24:42 +01:00
..
charm Add apache2 to the list of services 2024-05-27 13:32:20 +00:00
devices Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
plugins Use new sort method _sort_releases to support wrapped release names 2024-05-31 12:48:11 +00:00
sdn Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
__init__.py Add license headers to all source files 2016-06-28 11:13:14 +01:00
adapters.py adapters: add healthcheck option support 2022-11-21 05:29:09 +00:00
bus.py bus: Allow overriding discover search path 2019-11-19 11:07:27 +01:00
ip.py Stop getting {public,private}-address from unit-get 2021-01-15 08:32:56 +00:00
test_mocks.py mocks: Preserve CompareOpenStackReleases 2024-08-02 13:24:42 +01:00
test_utils.py Use unittest.mock instead of mock 2021-12-14 13:06:13 +00:00