| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -244,7 +244,7 @@ def test_leaking_password_in_clone_logs(self, rw_dir): | |||
| 244 | 244 | password = "fakepassword1234" | |
| 245 | 245 | try: | |
| 246 | 246 | Repo.clone_from( | |
| 247 | - url=f"https://fakeuser:{password}@fakerepo.example.com/testrepo", | ||
| 247 | + url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(password), | ||
| 248 | 248 | to_path=rw_dir) | |
| 249 | 249 | except GitCommandError as err: | |
| 250 | 250 | assert password not in str(err) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments