def setUp(self): self.spec = ArgumentSpec() try: self.p1 = patch('library.modules.bigip_gtm_pool.module_provisioned') self.m1 = self.p1.start() self.m1.return_value = True except Exception: self.p1 = patch('ansible.modules.network.f5.bigip_gtm_pool.module_provisioned') self.m1 = self.p1.start() self.m1.return_value = True
def setUp(self): self.spec = ArgumentSpec() try: self.p1 = patch('library.modules.bigip_gtm_pool.module_provisioned') self.m1 = self.p1.start() self.m1.return_value = True except Exception: self.p1 = patch('ansible_collections.misc.not_a_real_collection.plugins.modules.bigip_gtm_pool.module_provisioned') self.m1 = self.p1.start() self.m1.return_value = True
def setUp(self): self.spec = ArgumentSpec()