Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kuarantctl/cli test module is missing fixtures (gateway, hostname, backend) #619

Closed
zkraus opened this issue Jan 16, 2025 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@zkraus
Copy link
Contributor

zkraus commented Jan 16, 2025

When running tests in kuadrantctl/cli, execution fails with ERROR on missing fixtures:

  • gateway
  • hostname
  • backend

fixtures were probably moved into different module.

file .../testsuite/tests/kuadrantctl/cli/test_simple_route.py, line 15
  @pytest.fixture(scope="module")
  def oas(oas, blame, gateway, hostname, backend):
E       fixture 'gateway' not found
>       available fixtures: _session_event_loop, anyio_backend, anyio_backend_name, anyio_backend_options, auth0, base_domain, blame, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cfssl, client, cluster, cluster_issuer, dns_provider_secret, doctest_namespace, event_loop, event_loop_policy, exposer, extra, extras, include_metadata_in_junit_xml, keycloak, kuadrantctl, label, metadata, mockserver, module_label, monkeypatch, oas, oidc_provider, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, route, skip_or_fail, term_handler, testconfig, testrun_uid, testsuite/resources/tls::<event_loop>, testsuite/tests/kuadrantctl/cli/test_simple_route.py::<event_loop>, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, tracing, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, wildcard_domain, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.
@zkraus zkraus added the bug Something isn't working label Jan 16, 2025
@zkraus zkraus closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant