Reformat with new black version
This commit is contained in:
@@ -163,7 +163,6 @@ def test_repos_find(configtype, exclude, default_format):
|
||||
@pytest.mark.parametrize("configtype", ["toml", "yaml"])
|
||||
def test_repos_find_in_root(configtype, default_format):
|
||||
with TempGitRepository() as repo_dir:
|
||||
|
||||
args = ["repos", "find", "local", repo_dir]
|
||||
if not default_format:
|
||||
args += ["--format", configtype]
|
||||
|
||||
@@ -43,7 +43,9 @@ def test_repos_find_remote_invalid_provider(use_config):
|
||||
assert cmd.returncode != 0
|
||||
assert len(cmd.stdout) == 0
|
||||
if not use_config:
|
||||
assert re.match(".*invalid value 'thisproviderdoesnotexist' for.*provider", cmd.stderr)
|
||||
assert re.match(
|
||||
".*invalid value 'thisproviderdoesnotexist' for.*provider", cmd.stderr
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("provider", PROVIDERS)
|
||||
|
||||
Reference in New Issue
Block a user