You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
712 B
29 lines
712 B
10 years ago
|
from ee.utils import test
|
||
|
from ee.cli.main import get_test_app
|
||
|
|
||
|
|
||
|
class CliTestCaseInfo(test.EETestCase):
|
||
|
|
||
|
def test_ee_cli(self):
|
||
|
self.app.setup()
|
||
|
self.app.run()
|
||
|
self.app.close()
|
||
|
|
||
|
def test_ee_cli_info_mysql(self):
|
||
|
self.app = get_test_app(argv=['info', '--mysql'])
|
||
|
self.app.setup()
|
||
|
self.app.run()
|
||
|
self.app.close()
|
||
|
|
||
|
def test_ee_cli_info_php(self):
|
||
|
self.app = get_test_app(argv=['info', '--php'])
|
||
|
self.app.setup()
|
||
|
self.app.run()
|
||
|
self.app.close()
|
||
|
|
||
|
def test_ee_cli_info_nginx(self):
|
||
|
self.app = get_test_app(argv=['info', '--nginx'])
|
||
|
self.app.setup()
|
||
|
self.app.run()
|
||
|
self.app.close()
|