From f547d3a1ea2d4a5952c29a13cf331564a274fb7c Mon Sep 17 00:00:00 2001 From: ali ugur Date: Thu, 9 Jan 2025 11:38:29 +0300 Subject: [PATCH] chore(test): Fix test tracing image option name --- tests/integration/django/conftest.py | 4 ++-- tests/integration/go/conftest.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/integration/django/conftest.py b/tests/integration/django/conftest.py index bae372c..ec953ab 100644 --- a/tests/integration/django/conftest.py +++ b/tests/integration/django/conftest.py @@ -26,9 +26,9 @@ def cwd(): @pytest.fixture(scope="module", name="django_tracing_app_image") def fixture_django_tracing_app_image(pytestconfig: Config): """Return the --django-tracing-app-image test parameter.""" - image = pytestconfig.getoption("--django-app-tracing-image") + image = pytestconfig.getoption("--django-tracing-app-image") if not image: - raise ValueError("the following arguments are required: --django-app-tracing-image") + raise ValueError("the following arguments are required: --django-tracing-app-image") return image diff --git a/tests/integration/go/conftest.py b/tests/integration/go/conftest.py index a78fb64..d28408d 100644 --- a/tests/integration/go/conftest.py +++ b/tests/integration/go/conftest.py @@ -22,12 +22,12 @@ def cwd(): return os.chdir(PROJECT_ROOT / "examples/go/charm") -@pytest.fixture(scope="module", name="go_app_tracing_image") +@pytest.fixture(scope="module", name="go_tracing_app_image") def fixture_go_tracing_app_image(pytestconfig: Config): - """Return the --go-app-image test parameter.""" - image = pytestconfig.getoption("--go-app-tracing-image") + """Return the --go-tracing-app-image test parameter.""" + image = pytestconfig.getoption("--go-tracing-app-image") if not image: - raise ValueError("the following arguments are required: --go-app-tracing-image") + raise ValueError("the following arguments are required: --go-tracing-app-image") return image