Fix tests
This commit is contained in:
@@ -10,10 +10,11 @@ class CliTestCaseStack(test.WOTestCase):
|
|||||||
self.app.close()
|
self.app.close()
|
||||||
|
|
||||||
def test_wo_cli_stack_install(self):
|
def test_wo_cli_stack_install(self):
|
||||||
self.app = get_test_app(argv=['stack', 'install'])
|
argv = ['stack', 'install']
|
||||||
self.app.setup()
|
with self.make_app(argv=argv) as app:
|
||||||
self.app.run()
|
app.run()
|
||||||
self.app.close()
|
self.eq(app.pargs.stack.install)
|
||||||
|
|
||||||
|
|
||||||
def test_wo_cli_stack_install_web(self):
|
def test_wo_cli_stack_install_web(self):
|
||||||
self.app = get_test_app(argv=['stack', 'install', '--web'])
|
self.app = get_test_app(argv=['stack', 'install', '--web'])
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
"""Tests for Example Plugin."""
|
"""Tests for Example Plugin."""
|
||||||
|
|
||||||
from wo.utils import WOTestCase
|
from wo.utils.test import WOTestCase
|
||||||
|
|
||||||
|
|
||||||
class ExamplePluginTestCase(WOTestCase):
|
class ExamplePluginTestCase(WOTestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user