Skip to content

Commit

Permalink
Remove point location test case
Browse files Browse the repository at this point in the history
  • Loading branch information
manuGil committed Mar 18, 2024
1 parent cf1636d commit 4011aa8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions citizenvoice/tests/test_api_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ def setUpTestData(cls):
question_type='text', choices='', survey=survey)
question.save()

# Create a new point location
point_location = PointLocation(location='SRID=4326;POINT (0.0075149652548134 0.0322341867016535)', name='test location',
question=question)
point_location.save()

pass

def test_get_pointlocation_by_question(self):
question = Question.objects.get(id=1)
point_location = PointLocation.objects.get(question=question)
location = point_location.location
self.assertEqual(location, 'SRID=4326;POINT (0.0075149652548134 0.0322341867016535)')

def test_get_non_expired_surveys(self):
print('=================================')
Expand Down

0 comments on commit 4011aa8

Please sign in to comment.