'Creating from a list of dictionaries should return a list of objects.'

def test_create(self):

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