From 2466dba3585539637f505e850188bd8b363b719e Mon Sep 17 00:00:00 2001 From: Willi Date: Sat, 28 Sep 2024 21:53:17 +0530 Subject: [PATCH] corrects test suite --- tests/cli/test_init_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cli/test_init_command.py b/tests/cli/test_init_command.py index e85c4593f6..f76dc2f053 100644 --- a/tests/cli/test_init_command.py +++ b/tests/cli/test_init_command.py @@ -63,7 +63,7 @@ TEMPLATES = ["debug", "default", "arrow", "requests", "dataframe", "intro"] # a few verified sources we know to exist -SOME_KNOWN_VERIFIED_SOURCES = ["chess", "sql_database", "google_sheets", "pipedrive"] +SOME_KNOWN_VERIFIED_SOURCES = ["chess", "google_sheets", "pipedrive"] def get_verified_source_candidates(repo_dir: str) -> List[str]: @@ -150,7 +150,7 @@ def check_results(items: Dict[str, SourceConfiguration]) -> None: check_results(core_sources) verified_sources = _list_verified_sources(DEFAULT_VERIFIED_SOURCES_REPO) - assert set(SOME_KNOWN_VERIFIED_SOURCES).issubset(verified_sources) + assert set(SOME_KNOWN_VERIFIED_SOURCES).issubset(verified_sources.keys()) check_results(verified_sources) assert len(verified_sources.keys()) > 10