From 94b64c962e2d44e0291eb23fd8e86166bd210020 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 29 Oct 2019 14:11:42 +0100 Subject: [PATCH] Fix tests --- tests/cli/13_test_stack.py | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/tests/cli/13_test_stack.py b/tests/cli/13_test_stack.py index c9f4544..7e752b4 100644 --- a/tests/cli/13_test_stack.py +++ b/tests/cli/13_test_stack.py @@ -9,30 +9,6 @@ class CliTestCaseStack(test.WOTestCase): self.app.run() self.app.close() - def test_wo_cli_stack_install_nginx(self): - argv = ['stack', 'install', '--nginx'] - with self.make_app(argv=argv) as app: - app.run() - self.eq(app.pargs.stack.install.nginx) - - def test_wo_cli_stack_install_php(self): - argv = ['stack', 'install', '--php'] - with self.make_app(argv=argv) as app: - app.run() - self.eq(app.pargs.stack.install.php) - - def test_wo_cli_stack_install_mysql(self): - argv = ['stack', 'install', '--mysql'] - with self.make_app(argv=argv) as app: - app.run() - self.eq(app.pargs.stack.install.mysql) - - def test_wo_cli_stack_install_admin(self): - self.app = get_test_app(argv=['stack', 'install', '--admin']) - self.app.setup() - self.app.run() - self.app.close() - def test_wo_cli_stack_install_nginx(self): self.app = get_test_app(argv=['stack', 'install', '--nginx']) self.app.setup() @@ -45,6 +21,12 @@ class CliTestCaseStack(test.WOTestCase): self.app.run() self.app.close() + def test_wo_cli_stack_install_php73(self): + self.app = get_test_app(argv=['stack', 'install', '--php73']) + self.app.setup() + self.app.run() + self.app.close() + def test_wo_cli_stack_install_mysql(self): self.app = get_test_app(argv=['stack', 'install', '--mysql']) self.app.setup()