tests: match recent commits and

other misc. language improvements
This commit is contained in:
Jorge Orpinel
2020-01-23 00:35:15 -06:00
parent ec0c39a28e
commit d06bd6abd8
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -190,7 +190,7 @@ def test_get_url_not_existing(tmp_dir, erepo_dir, caplog):
main(["get", fspath(erepo_dir), "not-existing-file", "--show-url"])
== 1
)
assert "failed to show url" in caplog.text
assert "Failed to show URL" in caplog.text
def test_get_url_git_only_repo(tmp_dir, scm, caplog):
@@ -198,4 +198,4 @@ def test_get_url_git_only_repo(tmp_dir, scm, caplog):
with caplog.at_level(logging.ERROR):
assert main(["get", fspath(tmp_dir), "foo", "--show-url"]) == 1
assert "failed to show url" in caplog.text
assert "Failed to show URL" in caplog.text