Remove nose test runner

This commit is contained in:
Aarni Halinen
2022-08-01 21:09:17 +03:00
parent e408809e58
commit 70d7f55996
3 changed files with 1 additions and 55 deletions
-10
View File
@@ -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",