I am trying to test my Django views. This view passes a QuerySet to the template:
def merchant_home(request, slug): merchant = Merchant.objects.get(slug=sl
I ended up solving this issue using map to repr() each entry in the queryset inside the self.assertQuerysetEqual call, e.g.
map
repr()
self.assertQuerysetEqual
self.assertQuerysetEqual(queryset_1, map(repr, queryset_2))