2021-08-19 15:26:02 |
Gustavo Sanchez |
description |
Sometimes unit test TestManilaCharm.test_install() in test_lib_charm_openstack_manila.py passes and sometimes it throws an error after mocking using charms_openstack.test_utils.PatchHelper.patch()
https://pastebin.canonical.com/p/pDxq5X5qfy/
Problem seems to be trying to mock super().install() of class ManilaCharm(charms_openstack.charm.HAOpenStackCharm) |
Sometimes unit test TestManilaCharm.test_install() in test_lib_charm_openstack_manila.py passes and sometimes it throws an error after mocking using charms_openstack.test_utils.PatchHelper.patch()
The problem is just present in py36 unit tests
https://pastebin.canonical.com/p/pDxq5X5qfy/
Problem seems to be trying to mock super().install() of class ManilaCharm(charms_openstack.charm.HAOpenStackCharm) |
|