Commit graph

39 commits

Author SHA1 Message Date
axolotle
c5758bcd30 tests:questions: reflect changes of patch_users 2023-11-29 14:08:42 +01:00
axolotle
650c0136f2 form:UserOption: merge choices and default into root validator with first admin user as default 2023-11-26 18:29:43 +01:00
axolotle
c4c79c61fe configpanel: forbid extra props on BaseOption + accordingly fix tests 2023-10-25 15:06:10 +02:00
axolotle
3a5d353c4b form: force option type to 'select' if there's 'choices' 2023-10-22 15:50:32 +02:00
axolotle
3f417bb9b3 tests: update error instance in tests to YunohostError for packaging errors 2023-10-22 15:50:32 +02:00
axolotle
98ec5448f2 form: cli retries as variable to be patched in tests 2023-10-22 15:46:57 +02:00
axolotle
f1038de56d form: fix entities validators order for filter and apply the right default 2023-10-22 15:29:12 +02:00
axolotle
a574855a03 form: fix forbidden readonly type 2023-10-22 15:13:13 +02:00
axolotle
582b1ed311 form: add translating method 2023-10-22 15:13:13 +02:00
axolotle
c428ba616a test:options: update tests results to pydantic parsing 2023-10-22 15:07:54 +02:00
axolotle
89ae5e654d form: update asking flow, separate form and options 2023-10-22 15:06:51 +02:00
yunohost-bot
6e63b6fc53 [CI] Format code with Black 2023-07-17 16:00:11 +00:00
Alexandre Aubin
e1dcbee2a7
Merge branch '11.2' into before-pydantic-struc 2023-07-10 19:13:39 +02:00
axolotle
097cba4b56 tests:options: fix missing data
patching
2023-05-18 14:47:09 +02:00
axolotle
4df7e4681d form: force option type to 'select' if there's 'choices' + add test 2023-04-30 17:15:40 +02:00
axolotle
c1f0ac04c7 rename Option.name to Option.id 2023-04-19 20:27:17 +02:00
axolotle
f0f89d8f2a form: restrict choices to select, tags, domain, app, user + group 2023-04-19 20:27:17 +02:00
axolotle
9e8e0497dd form: fix readonly prompting + + choices + tests 2023-04-19 20:27:17 +02:00
axolotle
5351698230 form: rename ARGUMENTS_TYPE_PARSERS to OPTIONS 2023-04-19 20:27:17 +02:00
axolotle
4261317e49 form: separate BaseOption into BaseReadonlyOption + BaseInputOption 2023-04-19 20:27:17 +02:00
axolotle
f9fd379997 form: rename Questions to Options 2023-04-19 20:27:17 +02:00
axolotle
91497afbfe form: move option asking+prompt in external function 2023-04-19 20:27:17 +02:00
axolotle
bee218e560 fix configpanel.py and form.py imports 2023-04-04 16:05:36 +02:00
axolotle
f8c1e7c168 options: misc option quick fixes 2023-03-22 14:20:50 +01:00
axolotle
8e6178a863 options:tests: add missing types tests 2023-03-22 14:11:00 +01:00
axolotle
f4b7906811 options:tests: replace file tests 2023-03-21 21:15:29 +01:00
axolotle
eacb7016e2 options:tests: replace display_text tests 2023-03-21 19:03:09 +01:00
axolotle
af0cd78fcc options:tests: replace number tests 2023-03-21 19:01:45 +01:00
axolotle
af77e0b62f options:tests: replace user tests 2023-03-21 18:58:25 +01:00
axolotle
db1710a0a9 options:tests: replace domain tests 2023-03-21 18:56:02 +01:00
axolotle
df6bb22820 options:tests: replace boolean tests 2023-03-21 18:53:55 +01:00
axolotle
70149fe41d options:tests: replace path tests 2023-03-21 18:50:23 +01:00
axolotle
38381b8149 options:tests: replace some password tests 2023-03-21 18:47:04 +01:00
axolotle
26ca9e5c69 options:tests: replace some string tests 2023-03-21 18:38:53 +01:00
axolotle
c211b75279 options:tests: add base class Test 2023-03-21 18:31:24 +01:00
yunohost-bot
b943c69c8b [CI] Format code with Black 2023-02-01 17:10:08 +00:00
Alexandre Aubin
05a459d4df Fix tests 2022-02-01 15:01:11 +01:00
Kay0u
fc0cf79123
Merge branch 'dev' into bullseye 2021-12-30 15:29:16 +01:00
Alexandre Aubin
5de9e4fe6a Yolorework the repo dir structure 2021-11-10 17:56:02 +01:00
Renamed from src/yunohost/tests/test_questions.py (Browse further)