Skip to content

Commit

Permalink
fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Jan 13, 2025
1 parent 521bbc0 commit 50d8666
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/app/test_login_required.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def test_harvest_data_edit_buttons__logged_in(
source_edit_text = (
f'<a href="/harvest_source/config/edit/{source_data_dcatus["id"]}"'
)
source_clear_text = f"onclick=\"confirmAction('clear', '/harvest_source/config/clear/{source_data_dcatus['id']}')"
source_clear_text = (
f'<a href="/harvest_source/harvest/{source_data_dcatus["id"]}"'
)
source_delete_text = f"onclick=\"confirmAction('delete', '/harvest_source/config/delete/{source_data_dcatus['id']}')"
assert res.status_code == 200
assert res.text.find(button_string_text) != -1
Expand Down

0 comments on commit 50d8666

Please sign in to comment.