Remove nose test runner
This commit is contained in:
@@ -86,7 +86,6 @@ LOGGING = {
|
||||
|
||||
# Application definition
|
||||
IMPORT_EXPORT_USE_TRANSACTIONS = True
|
||||
TEST_RUNNER = "django_nose.NoseTestSuiteRunner"
|
||||
# Could be replaced with CORS_ALLOWED_ORIGINS list.
|
||||
# See (check correct package version in the link) https://github.com/adamchainz/django-cors-headers/tree/3.7.0#configuration
|
||||
CORS_ALLOW_ALL_ORIGINS = True
|
||||
@@ -113,7 +112,6 @@ INSTALLED_APPS = [
|
||||
"ohlhafv",
|
||||
"rest_framework",
|
||||
"rest_framework_simplejwt",
|
||||
"django_nose",
|
||||
"bootstrap3",
|
||||
"django_tables2",
|
||||
"auditlog",
|
||||
@@ -122,14 +120,6 @@ INSTALLED_APPS = [
|
||||
"django_filters",
|
||||
]
|
||||
|
||||
NOSE_ARGS = [
|
||||
"--with-coverage",
|
||||
"--cover-package=webapp,members,infoscreen",
|
||||
"--exclude-dir={}".format(os.path.join(BASE_DIR, "members", "migrations")),
|
||||
"--exclude-dir={}".format(os.path.join(BASE_DIR, "infoscreen", "migrations")),
|
||||
"--exclude-dir={}".format(os.path.join(BASE_DIR, "webapp", "migrations")),
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
"sikweb.middleware.ForceDefaultLanguageMiddleware",
|
||||
"django.middleware.security.SecurityMiddleware",
|
||||
|
||||
Reference in New Issue
Block a user