mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[CI] Format code
This commit is contained in:
parent
32998b1185
commit
27721749da
1 changed files with 11 additions and 2 deletions
|
@ -41,7 +41,13 @@ def clean():
|
||||||
os.system("mkdir -p /etc/ssowat/")
|
os.system("mkdir -p /etc/ssowat/")
|
||||||
app_ssowatconf()
|
app_ssowatconf()
|
||||||
|
|
||||||
test_apps = ["break_yo_system", "legacy_app", "legacy_app__2", "full_domain_app", "my_webapp"]
|
test_apps = [
|
||||||
|
"break_yo_system",
|
||||||
|
"legacy_app",
|
||||||
|
"legacy_app__2",
|
||||||
|
"full_domain_app",
|
||||||
|
"my_webapp",
|
||||||
|
]
|
||||||
|
|
||||||
for test_app in test_apps:
|
for test_app in test_apps:
|
||||||
|
|
||||||
|
@ -192,7 +198,10 @@ def test_legacy_app_install_main_domain():
|
||||||
def test_app_from_catalog():
|
def test_app_from_catalog():
|
||||||
main_domain = _get_maindomain()
|
main_domain = _get_maindomain()
|
||||||
|
|
||||||
app_install("my_webapp", args=f"domain={main_domain}&path=/site&with_sftp=0&password=superpassword&is_public=1&with_mysql=0")
|
app_install(
|
||||||
|
"my_webapp",
|
||||||
|
args=f"domain={main_domain}&path=/site&with_sftp=0&password=superpassword&is_public=1&with_mysql=0",
|
||||||
|
)
|
||||||
app_map_ = app_map(raw=True)
|
app_map_ = app_map(raw=True)
|
||||||
assert main_domain in app_map_
|
assert main_domain in app_map_
|
||||||
assert "/site" in app_map_[main_domain]
|
assert "/site" in app_map_[main_domain]
|
||||||
|
|
Loading…
Add table
Reference in a new issue