From 835041176e5d791dff12d9a044fe0ff956cbe8e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Thu, 4 Jul 2024 18:05:41 -0600 Subject: [PATCH] Fix fixture name --- tap_github/tests/test_tap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tap_github/tests/test_tap.py b/tap_github/tests/test_tap.py index d5301cbb..0c9f17bd 100644 --- a/tap_github/tests/test_tap.py +++ b/tap_github/tests/test_tap.py @@ -58,7 +58,7 @@ def test_validate_repo_list_config(repo_list_config): def run_tap_with_config( - caps, + capsys: pytest.LogCaptureFixture, config_obj: dict, skip_stream: str | None, single_stream: str | None, @@ -87,14 +87,14 @@ def run_tap_with_config( ) # discard previous output to stdout (potentially from other tests) - caps.readouterr() + capsys.readouterr() with patch( "singer_sdk.streams.core.Stream._sync_children", alternative_sync_children, ): tap2 = TapGitHub(config=config_obj, catalog=catalog.to_dict()) tap2.sync_all() - captured = caps.readouterr() + captured = capsys.readouterr() return captured.out