def test_validation_error_with_non_file(self):
        now = datetime.datetime.now()
        serializer = PointSerializer(data={'created': now, 'point': '123'})
        self.assertFalse(serializer.is_valid())
Passing non-dict contains latitude and longitude should raise a validation error.
dataset/ETHPy150Open Hipo/drf-extra-fields/tests/test_fields.py/PointSerializerTest.test_validation_error_with_non_file