Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
fix listing sort test
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Dec 8, 2011
1 parent 4573a8a commit cf62926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/webapps/tests/test_views.py
Expand Up @@ -197,7 +197,7 @@ def test_price_sort(self):
apps = test_listing_sort(self, 'price', None, reverse=False,
sel_class='extra-opt')
eq_(apps, list(Webapp.objects.listed()
.order_by('addonpremium__price__price')))
.order_by('addonpremium__price__price', 'id')))

def test_rating_sort(self):
test_listing_sort(self, 'rating', 'bayesian_rating')
Expand Down

0 comments on commit cf62926

Please sign in to comment.