We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d43a75 commit b650c4fCopy full SHA for b650c4f
test/test_repo.py
@@ -244,10 +244,11 @@ def test_leaking_password_in_clone_logs(self, rw_dir):
244
password = "fakepassword1234"
245
try:
246
Repo.clone_from(
247
- url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(password),
+ url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(
248
+ password),
249
to_path=rw_dir)
250
except GitCommandError as err:
- assert password not in str(err)
251
+ assert password not in str(err), "The error message '%s' should not contain the password" % err
252
253
@with_rw_repo('HEAD')
254
def test_max_chunk_size(self, repo):
0 commit comments