Exemplo n.º 1
0
 def test_allow_remove_chassis_uuid(self, mock_request):
     mock_request.version.minor = 25
     self.assertTrue(utils.allow_remove_chassis_uuid())
     mock_request.version.minor = 24
     self.assertFalse(utils.allow_remove_chassis_uuid())
Exemplo n.º 2
0
 def test_allow_remove_chassis_uuid(self, mock_request):
     mock_request.version.minor = 25
     self.assertTrue(utils.allow_remove_chassis_uuid())
     mock_request.version.minor = 24
     self.assertFalse(utils.allow_remove_chassis_uuid())