예제 #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'))
예제 #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")
     )
예제 #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'))
예제 #4
0
파일: neutron_test.py 프로젝트: bryson/salt
 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"))