6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-05 04:48:00 +00:00
tutor/tests
Régis Behmo c01f4476b8 fix: TypeError when PLUGINS is None
When the PLUGINS config entry is None (`PLUGINS:`), the following error
was being triggered:

  File "/.../tutor/tutor/plugins.py",
  line 304, in is_enabled
      return name in config.get(CONFIG_KEY, [])
      TypeError: argument of type 'NoneType' is not iterable
2021-03-30 09:23:16 +02:00
..
__init__.py Add unit tests! yay! 2019-03-23 16:16:44 -07:00
openedx-lms-common-settings Better dev environment 2019-10-24 20:03:36 +02:00
test_bindmounts.py refactor: add type annotations 2021-03-15 21:46:55 +01:00
test_config.py refactor: add type annotations 2021-03-15 21:46:55 +01:00
test_env.py refactor: add type annotations 2021-03-15 21:46:55 +01:00
test_images.py refactor: add type annotations 2021-03-15 21:46:55 +01:00
test_plugins.py fix: TypeError when PLUGINS is None 2021-03-30 09:23:16 +02:00
test_serialize.py refactor: add type annotations 2021-03-15 21:46:55 +01:00
test_utils.py refactor: add type annotations 2021-03-15 21:46:55 +01:00