Ejemplo n.º 1
0
 def test_update_port(self, mock):
     '''
     Test if it updates a port
     '''
     self.assertTrue(neutron.update_port('800', 'SALTSTACK',
                                         admin_state_up=True,
                                         profile='openstack1'))
Ejemplo n.º 2
0
 def test_update_port(self, mock):
     '''
     Test if it updates a port
     '''
     self.assertTrue(
         neutron.update_port('800',
                             'SALTSTACK',
                             admin_state_up=True,
                             profile='openstack1'))
Ejemplo n.º 3
0
 def test_update_port(self):
     """
     Test if it updates a port
     """
     self.assertTrue(
         neutron.update_port(
             "800", "SALTSTACK", admin_state_up=True, profile="openstack1"
         )
     )
Ejemplo n.º 4
0
 def test_update_port(self, mock):
     """
     Test if it updates a port
     """
     self.assertTrue(neutron.update_port("800", "SALTSTACK", admin_state_up=True, profile="openstack1"))