Exemplo n.º 1
0
 def test_get_operation_invalid_res_type(self):
     """Test invalid resource type."""
     with self.assertRaises(ValueError):
         _get_operation({'operation': '*'}, 'invalid')
Exemplo n.º 2
0
 def test_get_operation_invalid_res_type(self):
     """Test invalid resource type."""
     with self.assertRaises(ValueError):
         _get_operation({"operation": "*"}, "invalid")