def test_search_multiple_products(self):
        p1 = ProductFactory(title=u'Product One', slug='product-one', display_order=1)
        p2 = ProductFactory(title=u'Product Two', slug='product-two', display_order=2)
        doc1 = DocumentFactory(title=u'cookies', locale='en-US', category=10, products=[p1, p2])
        RevisionFactory(document=doc1, is_approved=True)

        self.refresh()

        response = self.client.get(reverse('search.advanced'), {
            'a': '1',
            'product': ['product-one', 'product-two'],
            'q': 'cookies',
            'w': '1',
        })

        eq_(200, response.status_code)
        assert "We couldn't find any results for" not in response.content
        assert response.content in 'Product One, Product Two'
dataset/ETHPy150Open mozilla/kitsune/kitsune/search/tests/test_search_advanced.py/AdvancedSearchTests.test_search_multiple_products/swapped operands of `in`