14 lines
326 B
Python
14 lines
326 B
Python
|
|
from wo.utils import test
|
||
|
|
from wo.cli.main import WOTestApp
|
||
|
|
|
||
|
|
|
||
|
|
class CliTestCaseSiteDisable(test.WOTestCase):
|
||
|
|
|
||
|
|
def test_wo_cli(self):
|
||
|
|
with WOTestApp as app:
|
||
|
|
app.run()
|
||
|
|
|
||
|
|
def test_wo_cli_site_disable(self):
|
||
|
|
with WOTestApp(argv=['site', 'disable', 'example2.com']) as app:
|
||
|
|
app.run()
|