'HTML input should be able to mock lists of lists using [x][y]
style prefixes.'

def test_validate_html_input(self):

    input_data = MultiValueDict({'integers[0][0]': ['123'], 'integers[0][1]': ['456'], 'integers[1][0]': ['789'], 'integers[1][1]': ['000'], 'booleans[0][0]': ['true'], 'booleans[0][1]': ['true'], 'booleans[1][0]': ['false'], 'booleans[1][1]': ['true']})
    expected_output = {'integers': [[123, 456], [789, 0]], 'booleans': [[True, True], [False, True]]}
    serializer = self.Serializer(data=input_data)
    assert serializer.is_valid()
    assert (serializer.validated_data == expected_output)
