mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
appurl: Add test for app url containing tilde
This commit is contained in:
parent
4f6d3c426a
commit
6a8aa333ea
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ def test_repo_url_definition():
|
||||||
)
|
)
|
||||||
assert _is_app_repo_url("https://github.com/YunoHost-Apps/foobar_ynh/tree/1.23.4")
|
assert _is_app_repo_url("https://github.com/YunoHost-Apps/foobar_ynh/tree/1.23.4")
|
||||||
assert _is_app_repo_url("git@github.com:YunoHost-Apps/foobar_ynh.git")
|
assert _is_app_repo_url("git@github.com:YunoHost-Apps/foobar_ynh.git")
|
||||||
|
assert _is_app_repo_url("https://git.super.host/~max/foobar_ynh")
|
||||||
|
|
||||||
assert not _is_app_repo_url("github.com/YunoHost-Apps/foobar_ynh")
|
assert not _is_app_repo_url("github.com/YunoHost-Apps/foobar_ynh")
|
||||||
assert not _is_app_repo_url("http://github.com/YunoHost-Apps/foobar_ynh")
|
assert not _is_app_repo_url("http://github.com/YunoHost-Apps/foobar_ynh")
|
||||||
|
|
Loading…
Add table
Reference in a new issue