#### Added - [ACME] Display warning about sudo usage when issuing certificate with DNS API validation (require `sudo -E`) #### Changed - [ACME] Resolve domain IP over HTTPS with Cloudflare DNS Resolver - [CORE] Cement Framework updated to v2.10.2 - [SITE] database name = 0 to 16 characters from the site name + 4 randomly generated character - [SITE] database user = 0 to 12 characters from the site name + 4 randomy generated character - [STACK] Improve sysctl tweak deployment #### Fixed - [SITE] https redirection missing on subdomains sites - Issues with digitalocean mariadb repository - Cement Framework output handler issues - [CLEAN] check if Nginx is installed before purging fastcgi or opcache
26 lines
770 B
Python
26 lines
770 B
Python
from wo.utils import test
|
|
from wo.cli.main import WOTestApp
|
|
|
|
|
|
class CliTestCaseStackRestart(test.WOTestCase):
|
|
|
|
def test_wo_cli(self):
|
|
with WOTestApp as app:
|
|
app.run()
|
|
|
|
def test_wo_cli_stack_services_restart_nginx(self):
|
|
with WOTestApp(argv=['stack', 'restart', '--nginx']) as app:
|
|
app.run()
|
|
|
|
def test_wo_cli_stack_services_restart_php_fpm(self):
|
|
with WOTestApp(argv=['stack', 'restart', '--php']) as app:
|
|
app.run()
|
|
|
|
def test_wo_cli_stack_services_restart_mysql(self):
|
|
with WOTestApp(argv=['stack', 'restart', '--mysql']) as app:
|
|
app.run()
|
|
|
|
def test_wo_cli_stack_services_restart_all(self):
|
|
with WOTestApp(argv=['stack', 'restart']) as app:
|
|
app.run()
|