We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d50e5ba commit 819a77dCopy full SHA for 819a77d
tests/catalog/test_base.py
@@ -291,7 +291,14 @@ def given_catalog_has_a_table(
291
)
292
293
294
-def test_load_catalog_does_not_exist() -> None:
+def test_load_catalog_impl_not_full_path() -> None:
295
+ with pytest.raises(ValueError) as exc_info:
296
+ load_catalog("catalog", **{PY_CATALOG_IMPL: "CustomCatalog"})
297
+
298
+ assert "py-catalog-impl should be full path (module.CustomCatalog), got: CustomCatalog" in str(exc_info.value)
299
300
301
+def test_load_catalog_impl_does_not_exist() -> None:
302
with pytest.raises(ValueError) as exc_info:
303
load_catalog("catalog", **{PY_CATALOG_IMPL: "pyiceberg.does.not.exist.Catalog"})
304
0 commit comments