Warn on empty filters

Closes #29
This commit is contained in:
2022-12-12 15:43:01 +01:00
parent 38bba1472e
commit 23fc942db7
4 changed files with 23 additions and 1 deletions

View File

@@ -166,7 +166,7 @@ def test_repos_find_remote_no_filter(provider, configtype, default, use_config):
cmd = grm(args)
assert cmd.returncode == 0
assert len(cmd.stderr) == 0
assert "did not specify any filters" in cmd.stderr.lower()
if default or configtype == "toml":
output = toml.loads(cmd.stdout)