Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#33708 closed Uncategorized (invalid)

4.0.4: pytest is failing because missing settings in env variables (and some pytest warnings)

Reported by: Tomasz Kłoczko Owned by: nobody
Component: Uncategorized Version: 4.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w --no-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

Latest pytest shows some warnings as well.
Here is pytest output:

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/django-4.0.4
plugins: datadir-1.3.1, regressions-2.3.1
collected 3412 items / 264 errors

================================================================================== ERRORS ==================================================================================
______________________________________________________ ERROR collecting tests/admin_changelist/test_date_hierarchy.py ______________________________________________________
tests/admin_changelist/test_date_hierarchy.py:4: in <module>
    from django.contrib.auth.models import User
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/contrib/auth/models.py:3: in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/contrib/auth/base_user.py:49: in <module>
    class AbstractBaseUser(models.Model):
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/db/models/base.py:127: in __new__
    app_config = apps.get_containing_app_config(module)
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/apps/registry.py:260: in get_containing_app_config
    self.check_apps_ready()
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/apps/registry.py:137: in check_apps_ready
    settings.INSTALLED_APPS
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/conf/__init__.py:87: in __getattr__
    self._setup(name)
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/conf/__init__.py:67: in _setup
    raise ImproperlyConfigured(
E   django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
___________________________________________________________ ERROR collecting tests/admin_docs/test_middleware.py ___________________________________________________________
tests/admin_docs/test_middleware.py:1: in <module>
    from django.contrib.auth.models import User
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/contrib/auth/models.py:3: in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/contrib/auth/base_user.py:49: in <module>
    class AbstractBaseUser(models.Model):
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/db/models/base.py:127: in __new__
    app_config = apps.get_containing_app_config(module)
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/apps/registry.py:260: in get_containing_app_config
    self.check_apps_ready()
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/apps/registry.py:137: in check_apps_ready
    settings.INSTALLED_APPS
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/conf/__init__.py:87: in __getattr__
    self._setup(name)
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/conf/__init__.py:67: in _setup
    raise ImproperlyConfigured(
E   django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
_____________________________________________________________ ERROR collecting tests/admin_docs/test_utils.py ______________________________________________________________
tests/admin_docs/test_utils.py:10: in <module>
    from .tests import AdminDocsSimpleTestCase
tests/admin_docs/tests.py:1: in <module>
    from django.contrib.auth.models import User
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/contrib/auth/models.py:3: in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/contrib/auth/base_user.py:49: in <module>
    class AbstractBaseUser(models.Model):
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/db/models/base.py:127: in __new__
    app_config = apps.get_containing_app_config(module)
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/apps/registry.py:260: in get_containing_app_config
    self.check_apps_ready()
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/apps/registry.py:137: in check_apps_ready
    settings.INSTALLED_APPS
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/conf/__init__.py:87: in __getattr__
    self._setup(name)
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/conf/__init__.py:67: in _setup
    raise ImproperlyConfigured(
E   django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
_____________________________________________________________ ERROR collecting tests/admin_docs/test_views.py ______________________________________________________________
tests/admin_docs/test_views.py:8: in <module>
    from django.contrib.sites.models import Site
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/contrib/sites/models.py:79: in <module>
    class Site(models.Model):
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/db/models/base.py:127: in __new__
    app_config = apps.get_containing_app_config(module)
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/apps/registry.py:260: in get_containing_app_config
    self.check_apps_ready()
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/apps/registry.py:137: in check_apps_ready
    settings.INSTALLED_APPS
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/conf/__init__.py:87: in __getattr__
    self._setup(name)
../../BUILDROOT/python-django-4.0.4-2.fc35.x86_64/usr/lib/python3.8/site-packages/django/conf/__init__.py:67: in _setup
    raise ImproperlyConfigured(
E   django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

[..]

============================================================================= warnings summary =============================================================================
tests/gis_tests/test_data.py:30
  /home/tkloczko/rpmbuild/BUILD/django-4.0.4/tests/gis_tests/test_data.py:30: PytestCollectionWarning: cannot collect test class 'TestObj' because it has a __init__ constructor (from: tests/gis_tests/test_data.py)
    class TestObj:

tests/gis_tests/test_data.py:40
  /home/tkloczko/rpmbuild/BUILD/django-4.0.4/tests/gis_tests/test_data.py:40: PytestCollectionWarning: cannot collect test class 'TestDS' because it has a __init__ constructor (from: tests/gis_tests/test_data.py)
    class TestDS(TestObj):

tests/gis_tests/test_data.py:51
  /home/tkloczko/rpmbuild/BUILD/django-4.0.4/tests/gis_tests/test_data.py:51: PytestCollectionWarning: cannot collect test class 'TestGeom' because it has a __init__ constructor (from: tests/gis_tests/test_data.py)
    class TestGeom(TestObj):

tests/gis_tests/test_data.py:69
  /home/tkloczko/rpmbuild/BUILD/django-4.0.4/tests/gis_tests/test_data.py:69: PytestCollectionWarning: cannot collect test class 'TestGeomSet' because it has a __init__ constructor (from: tests/gis_tests/test_data.py)
    class TestGeomSet:

../../../../../usr/lib64/python3.8/unittest/suite.py:92
  /usr/lib64/python3.8/unittest/suite.py:92: PytestCollectionWarning: cannot collect test class 'TestSuite' because it has a __init__ constructor (from: tests/test_runner/test_discover_runner.py)
    class TestSuite(BaseTestSuite):

tests/utils_tests/test_module_loading.py:210
  /home/tkloczko/rpmbuild/BUILD/django-4.0.4/tests/utils_tests/test_module_loading.py:210: PytestCollectionWarning: cannot collect test class 'TestFinder' because it has a __init__ constructor (from: tests/utils_tests/test_module_loading.py)
    class TestFinder:

tests/utils_tests/test_module_loading.py:229
  /home/tkloczko/rpmbuild/BUILD/django-4.0.4/tests/utils_tests/test_module_loading.py:229: PytestCollectionWarning: cannot collect test class 'TestLoader' because it has a __init__ constructor (from: tests/utils_tests/test_module_loading.py)
    class TestLoader:

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================= short test summary info ==========================================================================
ERROR tests/admin_changelist/test_date_hierarchy.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You...
ERROR tests/admin_docs/test_middleware.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/admin_docs/test_utils.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/admin_docs/test_views.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/admin_utils/test_logentry.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/admin_views/test_actions.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/admin_views/test_adminsite.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/admin_views/test_autocomplete_view.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You m...
ERROR tests/admin_views/test_forms.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/admin_views/test_history_view.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/admin_views/test_multidb.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/admin_views/test_nav_sidebar.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/admin_views/test_templatetags.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/admin_widgets/test_autocomplete_widget.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. Y...
ERROR tests/aggregation/test_filter_argument.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You mus...
ERROR tests/auth_tests/test_admin_multidb.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/auth_tests/test_auth_backends.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/auth_tests/test_basic.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/auth_tests/test_checks.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/auth_tests/test_context_processors.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You m...
ERROR tests/auth_tests/test_decorators.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/auth_tests/test_forms.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/auth_tests/test_handlers.py - django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are not configured. You must eithe...
ERROR tests/auth_tests/test_management.py - django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are not configured. You must eit...
ERROR tests/auth_tests/test_middleware.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/auth_tests/test_migrations.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/auth_tests/test_mixins.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/auth_tests/test_models.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/auth_tests/test_remote_user.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/auth_tests/test_signals.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either ...
ERROR tests/auth_tests/test_templates.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/auth_tests/test_tokens.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/auth_tests/test_validators.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/auth_tests/test_views.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/backends/test_ddl_references.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/backends/base/test_base.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either ...
ERROR tests/backends/base/test_creation.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/backends/base/test_operations.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/backends/mysql/test_creation.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either ...
ERROR tests/backends/mysql/test_features.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either ...
ERROR tests/backends/mysql/test_introspection.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must ei...
ERROR tests/backends/mysql/test_operations.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/backends/mysql/test_schema.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either de...
ERROR tests/backends/oracle/test_creation.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either...
ERROR tests/backends/oracle/test_introspection.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You m...
ERROR tests/backends/oracle/test_operations.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must...
ERROR tests/backends/postgresql/test_creation.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must ei...
ERROR tests/backends/postgresql/test_introspection.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. Y...
ERROR tests/backends/postgresql/test_operations.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You ...
ERROR tests/backends/postgresql/test_server_side_cursors.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configu...
ERROR tests/backends/sqlite/test_creation.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either...
ERROR tests/backends/sqlite/test_features.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either...
ERROR tests/backends/sqlite/test_introspection.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must e...
ERROR tests/backends/sqlite/test_operations.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must...
ERROR tests/check_framework/test_database.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either...
ERROR tests/check_framework/test_model_checks.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must ei...
ERROR tests/contenttypes_tests/test_checks.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/contenttypes_tests/test_fields.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/contenttypes_tests/test_management.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You m...
ERROR tests/contenttypes_tests/test_models.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/contenttypes_tests/test_operations.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You m...
ERROR tests/contenttypes_tests/test_order_with_respect_to.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not config...
ERROR tests/contenttypes_tests/test_views.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/comparison/test_cast.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You mu...
ERROR tests/db_functions/comparison/test_coalesce.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. Yo...
ERROR tests/db_functions/comparison/test_collate.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You...
ERROR tests/db_functions/comparison/test_greatest.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. Yo...
ERROR tests/db_functions/comparison/test_json_object.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured....
ERROR tests/db_functions/comparison/test_least.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You m...
ERROR tests/db_functions/comparison/test_nullif.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You ...
ERROR tests/db_functions/datetime/test_extract_trunc.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured....
ERROR tests/db_functions/datetime/test_now.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/db_functions/math/test_abs.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/math/test_acos.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/math/test_asin.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/math/test_atan.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/math/test_atan2.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/db_functions/math/test_ceil.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/math/test_cos.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/math/test_cot.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/math/test_degrees.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/db_functions/math/test_exp.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/math/test_floor.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/db_functions/math/test_ln.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/db_functions/math/test_log.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/math/test_mod.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/math/test_pi.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/db_functions/math/test_power.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/db_functions/math/test_radians.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/db_functions/math/test_random.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/math/test_round.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/db_functions/math/test_sign.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/math/test_sin.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/math/test_sqrt.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/math/test_tan.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/text/test_chr.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/text/test_concat.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/text/test_left.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/text/test_length.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/text/test_lower.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/db_functions/text/test_md5.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/text/test_ord.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/text/test_pad.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/db_functions/text/test_repeat.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/text/test_replace.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/db_functions/text/test_reverse.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/db_functions/text/test_right.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/db_functions/text/test_sha1.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/text/test_sha224.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/text/test_sha256.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/text/test_sha384.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/text/test_sha512.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/text/test_strindex.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must...
ERROR tests/db_functions/text/test_substr.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/db_functions/text/test_trim.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/db_functions/text/test_upper.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/dbshell/test_oracle.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define th...
ERROR tests/dbshell/test_postgresql.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either defin...
ERROR tests/deprecation/test_middleware_mixin.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You mu...
ERROR tests/expressions/test_queryset_values.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You mus...
ERROR tests/flatpages_tests/test_csrf.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/flatpages_tests/test_forms.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/flatpages_tests/test_middleware.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must...
ERROR tests/flatpages_tests/test_models.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/flatpages_tests/test_sitemaps.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/flatpages_tests/test_templatetags.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You mu...
ERROR tests/flatpages_tests/test_views.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/foreign_object/test_agnostic_order_trimjoin.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configur...
ERROR tests/foreign_object/test_empty_join.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/foreign_object/test_forms.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/forms_tests/tests/test_deprecation_forms.py
ERROR tests/forms_tests/tests/test_error_messages.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. Yo...
ERROR tests/forms_tests/tests/test_forms.py
ERROR tests/forms_tests/tests/test_formsets.py
ERROR tests/forms_tests/tests/test_i18n.py
ERROR tests/forms_tests/tests/test_widgets.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/generic_relations/test_forms.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/generic_views/test_base.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either ...
ERROR tests/generic_views/test_dates.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/generic_views/test_detail.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/generic_views/test_edit.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either ...
ERROR tests/generic_views/test_list.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either ...
ERROR tests/gis_tests/test_fields.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2.0", "gda...
ERROR tests/gis_tests/test_geoforms.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2.0", "g...
ERROR tests/gis_tests/test_geoip2.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2.0", "gda...
ERROR tests/gis_tests/test_gis_tests_utils.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must eithe...
ERROR tests/gis_tests/test_spatialrefsys.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either ...
ERROR tests/gis_tests/gdal_tests/test_driver.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3...
ERROR tests/gis_tests/gdal_tests/test_ds.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2.0...
ERROR tests/gis_tests/gdal_tests/test_envelope.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gda...
ERROR tests/gis_tests/gdal_tests/test_geom.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2...
ERROR tests/gis_tests/gdal_tests/test_raster.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3...
ERROR tests/gis_tests/gdal_tests/test_srs.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2....
ERROR tests/gis_tests/geoapp/test_expressions.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal...
ERROR tests/gis_tests/geoapp/test_feeds.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/gis_tests/geoapp/test_functions.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3....
ERROR tests/gis_tests/geoapp/test_indexes.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2....
ERROR tests/gis_tests/geoapp/test_regress.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2....
ERROR tests/gis_tests/geoapp/test_serializers.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal...
ERROR tests/gis_tests/geoapp/test_sitemaps.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/gis_tests/geos_tests/test_coordseq.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gda...
ERROR tests/gis_tests/geos_tests/test_geos.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2...
ERROR tests/gis_tests/geos_tests/test_geos_mutation.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0",...
ERROR tests/gis_tests/geos_tests/test_io.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "gdal3.2.0...
ERROR tests/gis_tests/geos_tests/test_mutable_list.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", ...
ERROR tests/gis_tests/gis_migrations/test_operations.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0"...
ERROR tests/gis_tests/rasterapp/test_rasterfield.py - django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.3.0", "g...
ERROR tests/invalid_models_tests/test_deprecated_fields.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. Y...
ERROR tests/invalid_models_tests/test_models.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must eit...
ERROR tests/invalid_models_tests/test_ordinary_fields.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You...
ERROR tests/lookup/test_decimalfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/lookup/test_timefield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/m2m_through_regress/test_multitable.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You ...
ERROR tests/messages_tests/test_cookie.py - django.core.exceptions.ImproperlyConfigured: Requested setting MESSAGE_TAGS, but settings are not configured. You must either...
ERROR tests/messages_tests/test_fallback.py - django.core.exceptions.ImproperlyConfigured: Requested setting MESSAGE_TAGS, but settings are not configured. You must eith...
ERROR tests/messages_tests/test_mixins.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/messages_tests/test_session.py - django.core.exceptions.ImproperlyConfigured: Requested setting MESSAGE_TAGS, but settings are not configured. You must eithe...
ERROR tests/migrations/test_autodetector.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/migrations/test_commands.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/migrations/test_operations.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/migrations/test_optimizer.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/migrations/test_state.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/migrations/test_writer.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/model_fields/test_autofield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/model_fields/test_binaryfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/model_fields/test_booleanfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/model_fields/test_charfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/model_fields/test_datetimefield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must...
ERROR tests/model_fields/test_decimalfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/model_fields/test_durationfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must...
ERROR tests/model_fields/test_field_flags.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must e...
ERROR tests/model_fields/test_filefield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/model_fields/test_floatfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/model_fields/test_foreignkey.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ei...
ERROR tests/model_fields/test_genericipaddressfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. ...
ERROR tests/model_fields/test_integerfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/model_fields/test_jsonfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/model_fields/test_manytomanyfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You mu...
ERROR tests/model_fields/test_slugfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/model_fields/test_textfield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/model_fields/test_uuid.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/model_forms/test_modelchoicefield.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You mu...
ERROR tests/model_forms/test_uuid.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/model_formsets/test_uuid.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/model_inheritance/test_abstract_inheritance.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configur...
ERROR tests/model_options/test_default_related_name.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. ...
ERROR tests/model_options/test_tablespaces.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/modeladmin/test_actions.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either ...
ERROR tests/modeladmin/test_checks.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/postgres_tests/test_aggregates.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must eithe...
ERROR tests/postgres_tests/test_apps.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either defi...
ERROR tests/postgres_tests/test_array.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either def...
ERROR tests/postgres_tests/test_bulk_update.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must eith...
ERROR tests/postgres_tests/test_citext.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either de...
ERROR tests/postgres_tests/test_constraints.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must eith...
ERROR tests/postgres_tests/test_functions.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either...
ERROR tests/postgres_tests/test_hstore.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either de...
ERROR tests/postgres_tests/test_indexes.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either d...
ERROR tests/postgres_tests/test_integration.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must eith...
ERROR tests/postgres_tests/test_introspection.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must ei...
ERROR tests/postgres_tests/test_operations.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must eithe...
ERROR tests/postgres_tests/test_ranges.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either de...
ERROR tests/postgres_tests/test_search.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either de...
ERROR tests/postgres_tests/test_signals.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either d...
ERROR tests/postgres_tests/test_trigram.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either d...
ERROR tests/postgres_tests/test_unaccent.py - django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either ...
ERROR tests/prefetch_related/test_prefetch_related_objects.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not confi...
ERROR tests/prefetch_related/test_uuid.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/queries/test_bulk_update.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/queries/test_contains.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/queries/test_db_returning.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/queries/test_explain.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either def...
ERROR tests/queries/test_iterator.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/queries/test_q.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define th...
ERROR tests/queries/test_qs_combinators.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/queries/test_query.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either defin...
ERROR tests/serializers/test_data.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/serializers/test_deserializedobject.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You ...
ERROR tests/serializers/test_json.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/serializers/test_jsonl.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/serializers/test_natural.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/serializers/test_xml.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either def...
ERROR tests/serializers/test_yaml.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either de...
ERROR tests/sitemaps_tests/test_generic.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/sitemaps_tests/test_http.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/sitemaps_tests/test_https.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/sitemaps_tests/test_management.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/sitemaps_tests/test_utils.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eithe...
ERROR tests/template_tests/test_custom.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/template_tests/syntax_tests/test_debug.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. Y...
ERROR tests/template_tests/syntax_tests/i18n/test_blocktranslate.py - django.core.exceptions.ImproperlyConfigured: Requested setting LOCALE_PATHS, but settings are not c...
ERROR tests/template_tests/syntax_tests/i18n/test_translate.py - django.core.exceptions.ImproperlyConfigured: Requested setting LOCALE_PATHS, but settings are not config...
ERROR tests/template_tests/syntax_tests/i18n/test_underscore_syntax.py - django.core.exceptions.ImproperlyConfigured: Requested setting LOCALE_PATHS, but settings are no...
ERROR tests/test_runner/test_debug_sql.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/test_utils/test_testcase.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either...
ERROR tests/test_utils/test_transactiontestcase.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You ...
ERROR tests/utils_tests/test_lazyobject.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eit...
ERROR tests/utils_tests/test_simplelazyobject.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You mu...
ERROR tests/validation/test_custom_messages.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must...
ERROR tests/validation/test_unique.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either d...
ERROR tests/validation/test_validators.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must eith...
ERROR tests/view_tests/tests/test_defaults.py - django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must ...
ERROR tests/view_tests/tests/test_i18n.py - django.core.exceptions.ImproperlyConfigured: Requested setting USE_I18N, but settings are not configured. You must either def...
ERROR tests/view_tests/tests/test_static.py - django.core.exceptions.ImproperlyConfigured: Requested setting USE_I18N, but settings are not configured. You must either d...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 264 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================== 7 warnings, 264 errors in 37.22s =====================================================================

I cannot find what shoud be specified in INSTALLED_APPS, USE_I18N env varaibles.

Change History (2)

comment:1 by Claude Paroz, 3 years ago

Resolution: invalid
Status: newclosed

Django is not supposed to be tested with pytest, but with standard Python unittest framework.

Note: See TracTickets for help on using tickets.
Back to Top