You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to package this for openSUSE, but the tests are failing with a missing fixture.
I have found no hint on which test dependencies I might be missing. I found no requirements.txt or similar, only some runtime dependencies inside the pyproject.toml.
Is this documented somewhere? If not, could this be documented?
Thanks!
[ 12s] ============================= test session starts ==============================
[ 12s] platform linux -- Python 3.9.18, pytest-7.4.2, pluggy-1.0.0 -- /usr/bin/python3.9
[ 12s] cachedir: .pytest_cache
[ 12s] rootdir: /home/abuild/rpmbuild/BUILD/prometrix-ca3e889c11b51ec5dcb0e7a47dae6e724be96e7e
[ 12s] plugins: lazy-fixture-0.6.3
[ 13s] collecting ... collected 1 item
[ 13s]
[ 13s] tests/main.py::test_label ERROR [100%]
[ 13s]
[ 13s] ==================================== ERRORS ====================================
[ 13s] _________________________ ERROR at setup of test_label _________________________
[ 13s] file /home/abuild/rpmbuild/BUILD/prometrix-ca3e889c11b51ec5dcb0e7a47dae6e724be96e7e/tests/main.py, line 28
[ 13s] def test_label(prom: CustomPrometheusConnect) -> bool:
[ 13s] E fixture 'prom' not found
[ 13s] > available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
[ 13s] > use 'pytest --fixtures [testpath]' for help on them.
[ 13s]
[ 13s] /home/abuild/rpmbuild/BUILD/prometrix-ca3e889c11b51ec5dcb0e7a47dae6e724be96e7e/tests/main.py:28
[ 13s] =========================== short test summary info ============================
[ 13s] ERROR tests/main.py::test_label
[ 13s] =============================== 1 error in 0.61s ===============================
The text was updated successfully, but these errors were encountered:
I am trying to package this for openSUSE, but the tests are failing with a missing fixture.
I have found no hint on which test dependencies I might be missing. I found no requirements.txt or similar, only some runtime dependencies inside the pyproject.toml.
Is this documented somewhere? If not, could this be documented?
Thanks!
The text was updated successfully, but these errors were encountered: