def METHOD_NAME(self):
    dive = self.modelfactory.create(published=False)
    response = self.client.get(reverse('diving:dive_poi_geojson', kwargs={'lang': translation.get_language(), 'pk': dive.pk}))
    self.assertEqual(response.status_code, 404)