repos with username password
This commit is contained in:
parent
dda00b70ac
commit
345aeaf353
6 changed files with 155 additions and 11 deletions
|
|
@ -1074,12 +1074,15 @@ def test_ui_register_analyze_and_approve_loop(tmp_path):
|
|||
assert index_response.status_code == 200
|
||||
assert "Register Repository" in index_response.text
|
||||
assert "Registering repository..." in index_response.text
|
||||
assert "Password or access token" in index_response.text
|
||||
|
||||
create_response = client.post(
|
||||
"/ui/repos",
|
||||
data={
|
||||
"url": str(source),
|
||||
"branch": "main",
|
||||
"access_username": "",
|
||||
"access_password": "",
|
||||
},
|
||||
follow_redirects=False,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue