Skip to content

Commit 67f7f72

Browse files
committed
fix(test): adapt to flask 2.1 url_for behavior
1 parent c44fc9c commit 67f7f72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_advisory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_schedule_advisory(db, client):
6868
def test_schedule_advisory_invalid(db, client):
6969
resp = client.post(url_for('tracker.schedule_advisory', avg=DEFAULT_GROUP_NAME), data={'advisory_type': 'fooo'})
7070
assert 302 == resp.status_code
71-
assert url_for('tracker.show_group', avg=DEFAULT_GROUP_NAME, _external=True) == resp.location
71+
assert url_for('tracker.show_group', avg=DEFAULT_GROUP_NAME) == resp.location
7272

7373

7474
@create_package(name='foo', base='yay', version='1.2.3-4')

0 commit comments

Comments
 (0)