mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Link to specification page, not PDF directly
This commit is contained in:
@@ -586,13 +586,11 @@ def test_get_letter_validation_error_for_known_errors(
|
||||
|
||||
assert detail.text == expected_content
|
||||
if detail.select_one('a'):
|
||||
assert detail.select_one('a')['href'] == url_for('.upload_a_letter')
|
||||
assert detail.select_one('a')['target'] == '_blank'
|
||||
assert detail.select_one('a')['href'] == url_for('.letter_specification')
|
||||
|
||||
assert summary.text == expected_summary
|
||||
if summary.select_one('a'):
|
||||
assert summary.select_one('a')['href'] == url_for('.letter_spec')
|
||||
assert summary.select_one('a')['target'] == '_blank'
|
||||
assert summary.select_one('a')['href'] == url_for('.letter_specification')
|
||||
|
||||
|
||||
@pytest.mark.parametrize("date_from_db, expected_result", [
|
||||
|
||||
Reference in New Issue
Block a user