Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Jan 3, 2017
1 parent aab56d3 commit adbe966
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tests/control/test_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ def test_update(self):
form_data['size'] = '350'
doc = self.post_doc('/control/event/%s/%s/quotas/%s/change' % (self.orga1.slug, self.event1.slug, c.id),
form_data)
doc = self.get_doc('/control/event/%s/%s/quotas/' % (self.orga1.slug, self.event1.slug))
self.assertIn("350", doc.select("#page-wrapper table")[0].text)
self.assertNotIn("500", doc.select("#page-wrapper table")[0].text)
assert Quota.objects.get(id=c.id).size == 350
Expand Down

0 comments on commit adbe966

Please sign in to comment.