Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb650c4f

Browse files
committed
Better assert message
1 parent1d43a75 commitb650c4f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎test/test_repo.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,11 @@ def test_leaking_password_in_clone_logs(self, rw_dir):
244244
password="fakepassword1234"
245245
try:
246246
Repo.clone_from(
247-
url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(password),
247+
url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(
248+
password),
248249
to_path=rw_dir)
249250
exceptGitCommandErroraserr:
250-
assertpasswordnotinstr(err)
251+
assertpasswordnotinstr(err),"The error message '%s' should not contain the password"%err
251252

252253
@with_rw_repo('HEAD')
253254
deftest_max_chunk_size(self,repo):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp