Username/Password fields on analyse repo mask
This commit is contained in:
parent
345aeaf353
commit
64be789b13
5 changed files with 32 additions and 3 deletions
|
|
@ -1092,6 +1092,7 @@ def test_ui_register_analyze_and_approve_loop(tmp_path):
|
|||
detail_response = client.get(repository_path)
|
||||
assert detail_response.status_code == 200
|
||||
assert "Run Analysis" in detail_response.text
|
||||
assert "Running analysis..." in detail_response.text
|
||||
assert "Repository Metadata" in detail_response.text
|
||||
|
||||
edit_repository_response = client.post(
|
||||
|
|
@ -1110,7 +1111,11 @@ def test_ui_register_analyze_and_approve_loop(tmp_path):
|
|||
|
||||
run_response = client.post(
|
||||
f"{repository_path}/analysis-runs",
|
||||
data={"source_path": ""},
|
||||
data={
|
||||
"source_path": "",
|
||||
"access_username": "",
|
||||
"access_password": "",
|
||||
},
|
||||
follow_redirects=False,
|
||||
)
|
||||
assert run_response.status_code == 303
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue