Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ffe43 commit e5a4d29Copy full SHA for e5a4d29
‎tests/test_config_object.py‎
@@ -34,3 +34,7 @@ def test_simple_format(load_yaml):
34
35
assert dir / "vcspull" == repo.dir.parent
36
assert dir / "vcspull" / "libvcs" == repo.dir
37
+
38
+ assert hasattr(config, "filter_repos")
39
+ assert callable(config.filter_repos)
40
+ assert config.filter_repos(dir=dir / "vcspull" / "libvcs") == [repo]
0 commit comments