summaryrefslogtreecommitdiff
path: root/test/test_repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_repo.py')
-rw-r--r--test/test_repo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_repo.py b/test/test_repo.py
index 65e69c52..ac4c6660 100644
--- a/test/test_repo.py
+++ b/test/test_repo.py
@@ -244,10 +244,11 @@ class TestRepo(TestBase):
password = "fakepassword1234"
try:
Repo.clone_from(
- url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(password),
+ url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(
+ password),
to_path=rw_dir)
except GitCommandError as err:
- assert password not in str(err)
+ assert password not in str(err), "The error message '%s' should not contain the password" % err
@with_rw_repo('HEAD')
def test_max_chunk_size(self, repo):