Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage:
status:
project:
default:
threshold: 1%
patch:
default:
threshold: 0%
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@ indent-style = "space"
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
testpaths = ["tests", "src"]
testpaths = ["src"]
pythonpath = ["src"]
addopts = "-v --tb=short"
DJANGO_SETTINGS_MODULE = "feedback.settings.test"
DJANGO_SETTINGS_MODULE = "tests.settings"

# Coverage configuration
# https://coverage.readthedocs.io/en/latest/config.html
Expand Down
Empty file added src/tests/__init__.py
Empty file.
9 changes: 4 additions & 5 deletions src/feedback/settings/test.py → src/tests/settings.py
Comment thread
irfanuddinahmad marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
"""
Common Test settings for eox_hooks project.
For more information on this file, see
https://docs.djangoproject.com/en/2.22/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.22/ref/settings/
Shared Django test settings for the xblocks-extra repository.

All XBlocks in this repo share these settings during test runs.
Add any new XBlock app to INSTALLED_APPS below when migrating it in.
"""

from workbench.settings import * # pylint: disable=wildcard-import # noqa: F403, I001
Expand Down
Loading