Commit 4ab9da5e authored by Nicolas Joyard's avatar Nicolas Joyard

Force sort order in position test

parent e5a01f08
......@@ -34,7 +34,8 @@ class PositionTest(TestCase):
assert response['Location'] == expected
result = Position.objects.get(text='%stext' % self.id())
assert list(result.tags.values_list('name', flat=True)) == self.tags
assert list(result.tags.order_by('pk').values_list('name',
flat=True)) == self.tags
assert result.datetime == datetime.date(2015, 12, 11)
assert result.link == self.fixture['link']
assert result.representative.pk == self.mep.pk
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment