def test_loading(self): instance = list(serializers.deserialize('json', self.test_data))[0].object self.assertEqual([1, 2, None], instance.field)