'Validating a list of dictionaries should return a list of
validated dictionaries.'

def test_validate(self):

    input_data = [{'integer': '123', 'boolean': 'true'}, {'integer': '456', 'boolean': 'false'}]
    expected_output = [{'integer': 123, 'boolean': True}, {'integer': 456, 'boolean': False}]
    serializer = self.Serializer(data=input_data)
    assert serializer.is_valid()
    assert (serializer.validated_data == expected_output)
