From 521daa3b32485db992a5f3151caa2f2148c8e1c9 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 29 Oct 2019 15:22:06 +0100 Subject: [PATCH] Fix tests --- tests/cli/13_test_stack.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/tests/cli/13_test_stack.py b/tests/cli/13_test_stack.py index 7e752b4..26acf95 100644 --- a/tests/cli/13_test_stack.py +++ b/tests/cli/13_test_stack.py @@ -7,52 +7,51 @@ class CliTestCaseStack(test.WOTestCase): def test_wo_cli(self): 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() self.app.run() - self.app.close() + def test_wo_cli_stack_install_php(self): self.app = get_test_app(argv=['stack', 'install', '--php']) self.app.setup() 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() self.app.run() - self.app.close() + def test_wo_cli_stack_install_wpcli(self): self.app = get_test_app(argv=['stack', 'install', '--wpcli']) self.app.setup() self.app.run() - self.app.close() + def test_wo_cli_stack_install_phpmyadmin(self): self.app = get_test_app(argv=['stack', 'install', '--phpmyadmin']) self.app.setup() self.app.run() - self.app.close() + def test_wo_cli_stack_install_adminer(self): self.app = get_test_app(argv=['stack', 'install', '--adminer']) self.app.setup() self.app.run() - self.app.close() + def test_wo_cli_stack_install_utils(self): self.app = get_test_app(argv=['stack', 'install', '--utils']) self.app.setup() self.app.run() - self.app.close()