diff --git a/tests/test_config_object.py b/tests/test_config_object.py index fcc10d03..3bdece2b 100644 --- a/tests/test_config_object.py +++ b/tests/test_config_object.py @@ -34,3 +34,7 @@ def test_simple_format(load_yaml): assert dir / "vcspull" == repo.dir.parent assert dir / "vcspull" / "libvcs" == repo.dir + + assert hasattr(config, "filter_repos") + assert callable(config.filter_repos) + assert config.filter_repos(dir=dir / "vcspull" / "libvcs") == [repo]