Files
WPIQ/tests/cli/30_test_stack_remove.py
VirtuBox b771b2578e Updating configuration (#197)
#### 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
2019-11-11 19:06:11 +01:00

44 lines
1.4 KiB
Python

from wo.utils import test
from wo.cli.main import WOTestApp
class CliTestCaseStackRemove(test.WOTestCase):
def test_wo_cli(self):
with WOTestApp as app:
app.run()
def test_wo_cli_stack_remove_admin(self):
with WOTestApp(argv=['stack', 'remove', '--admin', '--force']) as app:
app.run()
def test_wo_cli_stack_remove_nginx(self):
with WOTestApp(argv=['stack', 'remove', '--nginx', '--force']) as app:
app.run()
def test_wo_cli_stack_remove_php(self):
with WOTestApp(argv=['stack', 'remove', '--php', '--force']) as app:
app.run()
def test_wo_cli_stack_remove_mysql(self):
with WOTestApp(argv=['stack', 'remove', '--mysql', '--force']) as app:
app.run()
def test_wo_cli_stack_remove_wpcli(self):
with WOTestApp(argv=['stack', 'remove', '--wpcli', '--force']) as app:
app.run()
def test_wo_cli_stack_remove_phpmyadmin(self):
with WOTestApp(argv=['stack', 'remove',
'--phpmyadmin', '--force']) as app:
app.run()
def test_wo_cli_stack_remove_adminer(self):
with WOTestApp(
argv=['stack', 'remove', '--adminer', '--force']) as app:
app.run()
def test_wo_cli_stack_remove_utils(self):
with WOTestApp(argv=['stack', 'remove', '--utils', '--force']) as app:
app.run()