def METHOD_NAME(self):
    zone = GeoZoneFactory(validity=None)
    GeoZoneFactory.create_batch(2, validity=None)
    result = GeoZone.objects(code=zone.code).latest()
    self.assertEqual(result, zone)