Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests do not write logs to configured file #70

Open
cehbrecht opened this issue Dec 10, 2018 · 0 comments
Open

tests do not write logs to configured file #70

cehbrecht opened this issue Dec 10, 2018 · 0 comments
Labels

Comments

@cehbrecht
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant