Skip to content

Commit

Permalink
Run black on tests/functional/test_vcs_bazaar.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunn1313 committed Aug 9, 2021
1 parent b400ee3 commit 319f81b
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 319f81b

Please sign in to comment.