Skip to content

Commit

Permalink
logic.py tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antsmc2 committed Aug 28, 2016
1 parent cd63052 commit 4cfcaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion survey/tests/models/test_ea_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_get_survey_openings(self):
ea_new.locations.add(self.kampala)
self.batch.open_for_location(self.kampala)
self.assertTrue(self.survey.is_open_for(self.kampala))
self.assertEquals(83, ea_new.get_survey_openings(self.survey).values()[0]["batch_id"])
self.assertEquals(self.batch.pk, ea_new.get_survey_openings(self.survey).values()[0]["batch_id"])

def test_open_batches(self):
ea1=EnumerationArea.objects.create(name="new EA")
Expand Down

0 comments on commit 4cfcaac

Please sign in to comment.