From c6a0ecd47581bb6dc3ae4fe53fe613f72eb45ba6 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 30 Dec 2024 17:50:55 -0600 Subject: [PATCH] fix: update post-install webapp command suggestion since we now have an abstraction that works with various setups --- src/wuttjamaican/install.py | 2 +- tests/test_install.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wuttjamaican/install.py b/src/wuttjamaican/install.py index cf9e3ac..28dfb60 100644 --- a/src/wuttjamaican/install.py +++ b/src/wuttjamaican/install.py @@ -461,7 +461,7 @@ class InstallHandler(GenericHandler): if self.schema_installed: self.rprint("\n\tyou can run the web app with:") self.rprint(f"\n\t[blue]cd {sys.prefix}[/blue]") - self.rprint("\t[blue]bin/pserve file+ini:app/web.conf[/blue]") + self.rprint("\t[blue]bin/wutta -c app/web.conf webapp -r[/blue]") self.rprint() diff --git a/tests/test_install.py b/tests/test_install.py index 78ae370..ba410b1 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -214,7 +214,7 @@ default.url = {db_url} handler.schema_installed = True handler.show_goodbye() rprint.assert_any_call("\n\t[bold green]initial setup is complete![/bold green]") - rprint.assert_any_call("\t[blue]bin/pserve file+ini:app/web.conf[/blue]") + rprint.assert_any_call("\t[blue]bin/wutta -c app/web.conf webapp -r[/blue]") def test_require_prompt_toolkit_installed(self): # nb. this assumes we *do* have prompt_toolkit installed