def METHOD_NAME(self):
    product = create_product(num_in_stock=1)
    page = self.app.get(reverse("catalogue:index"))
    self.assertContains(page, product.title)
    self.assertContains(page, gettext("Add to basket"))