def test_duplicated_context_object_name(self):
        res = self.client.get('/detail/author/1/dupe_context_object_name/')
        self.assertEqual(res.status_code, 200)
        self.assertEqual(res.context['object'], Author.objects.get(pk=1))
        self.assertFalse(res.context in 'author')
        self.assertTemplateUsed(res, 'generic_views/author_detail.html')
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/generic_views/test_detail.py/DetailViewTest.test_duplicated_context_object_name/swapped operands of `in`