Skip to content

fixture 'httpx_mock' not found error in CI #1673

Description

@simonw

https://github.com/simonw/llm/actions/runs/34170781954/job/101890521708

__________ ERROR at setup of test_tools_in_templates[alias-True-True] __________
file /Users/runner/work/llm/llm/tests/test_templates.py, line 500
  @pytest.mark.parametrize(
      "source,expected_tool_success,expected_functions_success",
      (
          ("alias", True, True),
          ("file", True, True),
          # Loaded from URL or plugin = functions: should not work
          ("url", True, False),
          ("plugin", True, False),
      ),
  )
  def test_tools_in_templates(
E       fixture 'httpx_mock' not found
>       available fixtures: _asyncio_loop_factory, _class_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, _syrupy_apply_ide_patches, allowed_hosts, anyio_backend, anyio_backend_name, anyio_backend_options, async_mock_model, block_network, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, collection, default_cassette_name, disable_recording, doctest_namespace, embed_demo, embed_key_demo, env_setup, event_loop_policy, free_tcp_port, free_tcp_port_factory, free_udp_port, free_udp_port_factory, httpx2_mock, logs_db, mock_async_key_model, mock_key_model, mock_model, mock_openai_responses, mocked_localai, mocked_openai_chat, mocked_openai_chat_returning_fenced_code, mocked_openai_chat_stream, mocked_openai_completion, mocked_openai_completion_logprobs, mocked_openai_completion_logprobs_stream, mocked_openai_responses, monkeypatch, pytestconfig, record_mode, record_property, record_testsuite_property, record_xml_attribute, recwarn, register_echo_model, register_embed_demo_model, snapshot, subtests, templates_path, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, user_path, user_path_with_embeddings, vcr, vcr_cassette_dir, vcr_config, vcr_markers

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingciGitHub Actions failures

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions