Tiến Hồ Trương Đức
02/05/2024, 8:20 AMpoetry run pytest
with the default test_core.py
file. It is passed first 4 test cases and I can get my data. But all remaining test cases with stream
are all got the same error like this:
________________________________________________________ ERROR at setup of TestTapUltimateChatbot.test_tap_stream_catalog_schema_matches_record ________________________________________________________
file /Users/kayden.ho.int/.pyenv/versions/3.9.11/envs/meltano_test_env/lib/python3.9/site-packages/singer_sdk/testing/templates.py, line 173
def run( # type: ignore[override]
E fixture 'stream' not found
> available fixtures: anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, config, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, requests_mock, resource, runner, time_machine, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
> use 'pytest --fixtures [testpath]' for help on them.
I don't know how to fix it, please help me to solve this. Thank you very much! 🙏Reuben (Matatika)
02/05/2024, 11:54 AMReuben (Matatika)
02/05/2024, 8:34 PM