This repository was archived by the owner on Sep 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
This repository was archived by the owner on Sep 8, 2024. It is now read-only.
Test setup fails to find fixtures #2572
Copy link
Copy link
Closed
Description
I'm running the tests on Alpine Linux using system packages, on Python 3.8.
It seems the setup of some tests fails to find the fixtures tester
and directory
.
============================================================== ERRORS ===============================================================
________________________________________________ ERROR at setup of test_audio_files _________________________________________________
file /home/bart/Git/alpine/aports/testing/mycroft-core/src/mycroft-core-release-v20.2.2/test/wake_word/wake_word_test.py, line 157
def test_audio_files(tester, file_names, on_file_finish):
E fixture 'tester' not found
> 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
> use 'pytest --fixtures [testpath]' for help on them.
/home/bart/Git/alpine/aports/testing/mycroft-core/src/mycroft-core-release-v20.2.2/test/wake_word/wake_word_test.py:157
_______________________________________________ ERROR at setup of test_false_negative _______________________________________________
file /home/bart/Git/alpine/aports/testing/mycroft-core/src/mycroft-core-release-v20.2.2/test/wake_word/wake_word_test.py, line 180
def test_false_negative(directory):
E fixture 'directory' not found
> 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
> use 'pytest --fixtures [testpath]' for help on them.
/home/bart/Git/alpine/aports/testing/mycroft-core/src/mycroft-core-release-v20.2.2/test/wake_word/wake_word_test.py:180
_______________________________________________ ERROR at setup of test_false_positive _______________________________________________
file /home/bart/Git/alpine/aports/testing/mycroft-core/src/mycroft-core-release-v20.2.2/test/wake_word/wake_word_test.py, line 201
def test_false_positive(directory):
E fixture 'directory' not found
> 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
> use 'pytest --fixtures [testpath]' for help on them.
/home/bart/Git/alpine/aports/testing/mycroft-core/src/mycroft-core-release-v20.2.2/test/wake_word/wake_word_test.py:201
Metadata
Metadata
Assignees
Labels
No labels