Exemplo n.º 1
0
 def test_add_interface_router(self, mock):
     '''
     Test if it adds an internal network interface to the specified router
     '''
     self.assertTrue(neutron.add_interface_router('Salt',
                                                  '255.255.255.0',
                                                  profile='openstack1'))
Exemplo n.º 2
0
 def test_add_interface_router(self):
     """
     Test if it adds an internal network interface to the specified router
     """
     self.assertTrue(
         neutron.add_interface_router("Salt", "255.255.255.0", profile="openstack1")
     )
Exemplo n.º 3
0
 def test_add_interface_router(self, mock):
     '''
     Test if it adds an internal network interface to the specified router
     '''
     self.assertTrue(
         neutron.add_interface_router('Salt',
                                      '255.255.255.0',
                                      profile='openstack1'))
Exemplo n.º 4
0
 def test_add_interface_router(self, mock):
     """
     Test if it adds an internal network interface to the specified router
     """
     self.assertTrue(neutron.add_interface_router("Salt", "255.255.255.0", profile="openstack1"))