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.
2 parents 4446d1a + 319f81b commit b9f8295Copy full SHA for b9f8295
tests/functional/test_vcs_bazaar.py
@@ -12,20 +12,20 @@
12
13
14
@pytest.mark.skipif(
15
- 'TRAVIS' not in os.environ,
16
- reason='Bazaar is only required under Travis')
+ "TRAVIS" not in os.environ, reason="Bazaar is only required under Travis"
+)
17
def test_ensure_bzr_available():
18
"""Make sure that bzr is available when running in Travis."""
19
assert is_bzr_installed()
20
21
22
@need_bzr
23
def test_get_remote_url__no_remote(script, tmpdir):
24
- repo_dir = tmpdir / 'temp-repo'
+ repo_dir = tmpdir / "temp-repo"
25
repo_dir.mkdir()
26
repo_dir = str(repo_dir)
27
28
- script.run('bzr', 'init', repo_dir)
+ script.run("bzr", "init", repo_dir)
29
30
with pytest.raises(RemoteNotFoundError):
31
Bazaar().get_remote_url(repo_dir)
0 commit comments