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

DBLog test are bound to other test #679

Open
2 of 8 tasks
gschwind opened this issue Sep 15, 2023 · 0 comments
Open
2 of 8 tasks

DBLog test are bound to other test #679

gschwind opened this issue Sep 15, 2023 · 0 comments

Comments

@gschwind
Copy link
Collaborator

Description

The test_dblog.py check the content of the database during the test, running the test_dblog.py will always success because the database will be empty, but if other tests are runned before, the state of database may change and it may change the result of the test.

I think the test should be accurate, even if it's run alone or with other tests.

Environment

  • operating system:
  • Python version:
  • PyWPS version:
  • source/distribution
  • git clone
  • Debian
  • PyPI
  • zip/tar.gz
  • other (please specify):
  • web server
  • Apache/mod_wsgi
  • CGI
  • other (please specify):

Steps to Reproduce

run pytest tests/test_dblog.py alone.

Additional Information

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

No branches or pull requests

1 participant