def test_archive_view_context_object_name(self):
        res = self.client.get('/dates/books/context_object_name/')
        self.assertEqual(res.status_code, 200)
        self.assertEqual(res.context['date_list'], Book.objects.dates('pubdate', 'year')[::-1])
        self.assertEqual(list(res.context['thingies']), list(Book.objects.all()))
        self.assertFalse(res.context in 'latest')
        self.assertTemplateUsed(res, 'generic_views/book_archive.html')
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/generic_views/dates.py/ArchiveIndexViewTests.test_archive_view_context_object_name/swapped operands of `in`