6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-09 00:21:11 +00:00
tutor/tests
Régis Behmo 70424149e9 feat: don't prompt for env deletion on tutor config save -i
The introduction of the `-c/--clean` option caused the deletion prompt
to be displayed for every call to `tutor config save --interactive`.
This is not the desired behaviour, as decided here:
https://github.com/overhangio/tutor/pull/1086#discussion_r1681744804

With this change, the prompt is only displayed when running: `tutor
config save --interactive --clean`. The environment is still deleted on
`tutor config save --clean`, but without prompt.

We refactored the code with hooks, which simplifies the signature of the
interactive prompt function.
2024-11-01 10:02:35 +01:00
..
commands feat: add patches show ... command 2024-09-19 12:15:41 +02:00
core depr: templated hooks 2023-06-14 21:08:49 +02:00
__init__.py Add unit tests! yay! 2019-03-23 16:16:44 -07:00
helpers.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
test_bindmount.py feat: auto-mount edx-platform python requirements 2023-12-10 22:57:08 +01:00
test_config.py feat: don't prompt for env deletion on tutor config save -i 2024-11-01 10:02:35 +01:00
test_env.py v18.0.0 upgrade to redwood 2024-06-19 22:56:13 +02:00
test_plugin_indexes.py feat: plugin indexes 2023-02-10 10:06:38 +01:00
test_plugins_v0.py fix: save env on plugins enable 2024-02-07 10:15:35 +01:00
test_plugins.py chore: add missing test fixture and changelog entry 2024-02-08 11:21:30 +01:00
test_serialize.py fix: parse strings prefixed with "#" in config save --set ... 2023-09-06 12:06:10 +02:00
test_utils.py fix: save configs by enable/disable plugins. 2023-12-08 12:47:34 +01:00