tutor/tests/commands
Régis Behmo 71ed7a8618 feat: refactor hooks API for simplification
The hooks API had several issues which are summarized in this comment:
https://github.com/openedx/wg-developer-experience/issues/125#issuecomment-1313553526

1. "consts" was a bad name
2. "hooks.filters" and "hooks.Filters" could easily be confused
3. docs made it difficult to understand that plugin developers should use the catalog

To address these issues, we:

1. move "consts.py" to "catalog.py"
2. Remove "hooks.actions", "hooks.filters", "hooks.contexts" from the API.
3. re-organize the docs and give better usage examples in the catalog.

This change is a partial fix for https://github.com/openedx/wg-developer-experience/issues/125
2023-01-31 10:17:58 +01:00
..
__init__.py refactor: add code coverage, cover CLI commands with tests 2022-01-04 13:40:33 +01:00
base.py refactor: annotation with __future__.annotations 2023-01-18 08:36:14 +01:00
test_cli.py feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
test_compose.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
test_config.py fix: get rid of the `tutor config render` command 2022-06-03 12:54:27 +02:00
test_context.py feat: pluggable `local/dev/k8s do <job>` commands 2022-11-15 09:46:08 +01:00
test_dev.py depr: get rid of the `local/dev bindmount` commands 2022-10-19 17:51:06 +02:00
test_images.py feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
test_jobs.py fix: do not prepend DJANGO settings info to all jobs 2022-11-24 18:40:16 +01:00
test_k8s.py feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
test_local.py Merge remote-tracking branch 'origin/master' into nightly 2022-11-29 15:07:54 +00:00
test_plugins.py feat: auto-complete `plugins` arguments 2022-11-24 16:21:57 +01:00