Commit graph

19 commits

Author SHA1 Message Date
Alexandre Aubin
68d849f7ab Adapt tests for domain/path normalize 2021-09-23 10:45:37 +02:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests 2021-02-02 16:16:07 +01:00
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00:00
Alexandre Aubin
8e30768598 2to3-2.7 ./src/yunohost/{,data_migrations/,utils/,tests/}*.py data/hooks/diagnosis/*.py -w -x dict -x print --nobackups --no-diffs 2020-12-30 21:53:43 +01:00
Alexandre Aubin
5cfaa7d72c Fix tests 2020-11-02 19:12:52 +01:00
Alexandre Aubin
07cec39af5 Move a bunch of function from domain.py to app.py because it's much simpler to have them here 2020-09-30 17:38:42 +02:00
Alexandre Aubin
8c92f011d5 Rework function that validate and sanitize permission url 2020-09-16 22:38:18 +02:00
Josué Tille
ff396d2729
Merge remote-tracking branch 'upstream/stretch-unstable' into permission_protection 2020-06-03 15:04:59 +02:00
Kay0u
37f0273ff4
adding test coverage 2020-05-20 17:10:02 +02:00
Josué Tille
0ab3192b81
Improve regex management and simplify urls check 2020-04-22 21:54:48 +02:00
Josué Tille
7d69079e46
Add test for permission path normalization 2020-04-07 10:55:04 +02:00
Alexandre Aubin
24cfc15536 Merge branch 'stretch-unstable' into group_permission 2019-05-31 18:15:09 +02:00
Alexandre Aubin
b464bc576c Propagate changes on tests as well 2019-05-17 15:49:16 +02:00
Josué Tille
b01e4b61f5
Implement backup - restore and update test 2019-01-17 22:15:13 +01:00
Josué Tille
4282d7edca
Fix tests 2018-12-29 21:16:55 +01:00
Alexandre Aubin
115b557b67 autopep8 + a few manual tweaks 2018-12-13 18:52:26 +00:00
Alexandre Aubin
b93e96d33b Fix tests + allow to bypass m18n in YunohostError if a raw message is provided 2018-12-12 19:38:05 +00:00
Irina LAMBLA
4ba309a221 modif MoulinetteError to YunohostError 2018-12-12 19:01:28 +00:00
Alexandre Aubin
f646fdf272 [fix] Split checkurl into two functions : availability + booking (#267)
* Splitting checkurl into two functions, one to check availability, the other for booking
* [fix] move import at file's beginning.
* Rename bookurl to registerurl
* Set registerurl as a PUT request for the api
* urlavailable returns a boolean now
* Revert moving import to top of file :/
* Have domain and path as separate arguments
* Flagging checkurl as deprecated in the actionmap
* Adding unit tests for registerurl and related
* Using built-in deprectation mechanism of Moulinette
* Using - separator in names + moving url-available to domain
* Returning directly a bool in url-available
2017-04-16 16:47:51 +02:00