# Part of Odoo. See LICENSE file for full copyright and licensing details.
import odoo.tests


@odoo.tests.common.at_install(False)
@odoo.tests.common.post_install(True)
class TestUi(odoo.tests.HttpCase):
    def run_tour(self, login=None):
        self.phantom_js(
            "/",

            "odoo.__DEBUG__.services['web_tour.tour']"
            ".run('shop_buy_product')",

            "odoo.__DEBUG__.services['web_tour.tour']"
            ".tours.shop_buy_product.ready",

            login=login
        )

    # keep test numbering from module website_sale.
    # Test 01 is not needed in this module
    def test_02_admin_checkout(self):
        self.run_tour("admin")

    def test_03_demo_checkout(self):
        self.run_tour("demo")

    def test_04_public_checkout(self):
        self.run_tour()

@@ -92,83 +92,8 @@
 s%0A%0A%0A
-@odoo.tests.common.at_install(False)%0A@odoo.tests.common.post_install(True)%0A
 clas
@@ -698,32 +698,194 @@
 checkout(self):%0A
+        # Disable sign up, in case auth_signup is installed%0A        self.env%5B%22ir.config_parameter%22%5D.set_param(%0A            %22auth_signup.invitation_scope%22, %22b2b%22)%0A
         self.run

Fix public user test