예제 #1
0
 def test_update_vpnservice(self):
     """
     Test if it updates a VPN service
     """
     self.assertTrue(
         neutron.update_vpnservice("SALT", "VPN Service1", profile="openstack1")
     )
예제 #2
0
 def test_update_vpnservice(self, mock):
     '''
     Test if it updates a VPN service
     '''
     self.assertTrue(
         neutron.update_vpnservice('SALT',
                                   'VPN Service1',
                                   profile='openstack1'))
예제 #3
0
파일: neutron_test.py 프로젝트: bryson/salt
 def test_update_vpnservice(self, mock):
     """
     Test if it updates a VPN service
     """
     self.assertTrue(neutron.update_vpnservice("SALT", "VPN Service1", profile="openstack1"))
예제 #4
0
 def test_update_vpnservice(self, mock):
     '''
     Test if it updates a VPN service
     '''
     self.assertTrue(neutron.update_vpnservice('SALT', 'VPN Service1',
                                               profile='openstack1'))