Пример #1
0
 def test_update_quota(self, mock):
     '''
     Test if it update a tenant's quota
     '''
     self.assertTrue(neutron.update_quota('Salt', subnet='40',
                                          router='50', network='10',
                                          floatingip='30', port='30',
                                          security_group='10',
                                          security_group_rule='SS'))
Пример #2
0
 def test_update_quota(self, mock):
     '''
     Test if it update a tenant's quota
     '''
     self.assertTrue(
         neutron.update_quota('Salt',
                              subnet='40',
                              router='50',
                              network='10',
                              floatingip='30',
                              port='30',
                              security_group='10',
                              security_group_rule='SS'))
Пример #3
0
 def test_update_quota(self):
     """
     Test if it update a tenant's quota
     """
     self.assertTrue(
         neutron.update_quota(
             "Salt",
             subnet="40",
             router="50",
             network="10",
             floatingip="30",
             port="30",
             security_group="10",
             security_group_rule="SS",
         ))
Пример #4
0
 def test_update_quota(self, mock):
     """
     Test if it update a tenant's quota
     """
     self.assertTrue(
         neutron.update_quota(
             "Salt",
             subnet="40",
             router="50",
             network="10",
             floatingip="30",
             port="30",
             security_group="10",
             security_group_rule="SS",
         )
     )