Пример #1
0
 def setUp(self):
     self.spec = ArgumentSpec()
     try:
         self.p1 = patch('library.modules.bigip_apm_network_access.module_provisioned')
         self.m1 = self.p1.start()
         self.m1.return_value = True
     except Exception:
         self.p1 = patch('ansible.modules.network.f5.bigip_apm_network_access.module_provisioned')
         self.m1 = self.p1.start()
         self.m1.return_value = True
 def setUp(self):
     self.spec = ArgumentSpec()