schireson / pytest-mock-resources

Pytest Fixtures that let you actually test against external resource (Postgres, Mongo, Redshift...) dependent code.
https://pytest-mock-resources.readthedocs.io/en/latest/quickstart.html
MIT License
183 stars 19 forks source link

Fix a bug where pytest markers are only created for postgres #122

Closed ocaballeror closed 3 years ago

ocaballeror commented 3 years ago

It leads to this warning all the time, which is kind of annoying:

====================================================== warnings summary =======================================================
.venv/lib/python3.8/site-packages/_pytest/nodes.py:274
  /***/.venv/lib/python3.8/site-packages/_pytest/nodes.py:274: PytestUnknownMarkWar//docs.pytest.org/en/stable/mark.html
    marker_ = getattr(MARK_GEN, marker)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
================================================ 3 passed, 1 warning in 5.74s =================================================