Skip to content

Commit

Permalink
Merge pull request #10302 from nipunn1313/blacken_tests42
Browse files Browse the repository at this point in the history
Run black on tests/functional/test_vcs_bazaar.py
  • Loading branch information
pradyunsg committed Aug 13, 2021
2 parents 4446d1a + 319f81b commit b9f8295
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/functional/test_vcs_bazaar.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@


@pytest.mark.skipif(
'TRAVIS' not in os.environ,
reason='Bazaar is only required under Travis')
"TRAVIS" not in os.environ, reason="Bazaar is only required under Travis"
)
def test_ensure_bzr_available():
"""Make sure that bzr is available when running in Travis."""
assert is_bzr_installed()


@need_bzr
def test_get_remote_url__no_remote(script, tmpdir):
repo_dir = tmpdir / 'temp-repo'
repo_dir = tmpdir / "temp-repo"
repo_dir.mkdir()
repo_dir = str(repo_dir)

script.run('bzr', 'init', repo_dir)
script.run("bzr", "init", repo_dir)

with pytest.raises(RemoteNotFoundError):
Bazaar().get_remote_url(repo_dir)

0 comments on commit b9f8295

Please sign in to comment.