|
|
@ -36,7 +36,7 @@ def test_check_notification(client, live_server):
|
|
|
|
# Add our URL to the import page
|
|
|
|
# Add our URL to the import page
|
|
|
|
test_url = url_for('test_endpoint', _external=True)
|
|
|
|
test_url = url_for('test_endpoint', _external=True)
|
|
|
|
res = client.post(
|
|
|
|
res = client.post(
|
|
|
|
url_for("form_watch_add"),
|
|
|
|
url_for("form_quick_watch_add"),
|
|
|
|
data={"url": test_url, "tag": ''},
|
|
|
|
data={"url": test_url, "tag": ''},
|
|
|
|
follow_redirects=True
|
|
|
|
follow_redirects=True
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -172,7 +172,7 @@ def test_notification_validation(client, live_server):
|
|
|
|
# Add our URL to the import page
|
|
|
|
# Add our URL to the import page
|
|
|
|
test_url = url_for('test_endpoint', _external=True)
|
|
|
|
test_url = url_for('test_endpoint', _external=True)
|
|
|
|
res = client.post(
|
|
|
|
res = client.post(
|
|
|
|
url_for("form_watch_add"),
|
|
|
|
url_for("form_quick_watch_add"),
|
|
|
|
data={"url": test_url, "tag": 'nice one'},
|
|
|
|
data={"url": test_url, "tag": 'nice one'},
|
|
|
|
follow_redirects=True
|
|
|
|
follow_redirects=True
|
|
|
|
)
|
|
|
|
)
|
|
|
|