Fix tests

This commit is contained in:
VirtuBox
2019-10-23 12:43:19 +02:00
parent d37c5639e0
commit 061744b69f
2 changed files with 6 additions and 5 deletions

View File

@@ -10,10 +10,11 @@ class CliTestCaseStack(test.WOTestCase):
self.app.close()
def test_wo_cli_stack_install(self):
self.app = get_test_app(argv=['stack', 'install'])
self.app.setup()
self.app.run()
self.app.close()
argv = ['stack', 'install']
with self.make_app(argv=argv) as app:
app.run()
self.eq(app.pargs.stack.install)
def test_wo_cli_stack_install_web(self):
self.app = get_test_app(argv=['stack', 'install', '--web'])