Skip to content

tests do not write logs to configured file #70

@cehbrecht

Description

@cehbrecht

Description

When just running make test the log file is empty though it should contain some logs according to the default.cfg.

Environment

  • Emu version used, if any: 0.9.1
  • Python version, if any:
  • Operating System:

Steps to Reproduce

Try the following:

$ pytest --log-cli-level=DEBUG

__init__.py                 15 DEBUG    setting core variables
_compat.py                  25 DEBUG    Python 3.x
configuration.py            69 INFO     loading configuration
configuration.py            75 DEBUG    setting default values
configuration.py           188 DEBUG    UNIX based environment
configuration.py           200 DEBUG    trying to estimate the default location
configuration.py           144 INFO     No configuration files loaded. Using default values

Looks like the pywps service in the tests does not load our default.cfg.

Additional Information

https://docs.pytest.org/en/latest/logging.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions