Files
WPIQ/tests/cli/9_test_site_enable.py

17 lines
392 B
Python
Raw Normal View History

2018-11-13 21:55:59 +01:00
from wo.utils import test
from wo.cli.main import get_test_app
class CliTestCaseSite(test.WOTestCase):
def test_wo_cli(self):
self.app.setup()
self.app.run()
self.app.close()
def test_wo_cli_site_enable(self):
self.app = get_test_app(argv=['site', 'enable', 'example2.com'])
self.app.setup()
self.app.run()
self.app.close()