Skip to content

DBLog test are bound to other test #679

@gschwind

Description

@gschwind

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions