Skip to content
Snippets Groups Projects
Commit 5e59c109 authored by Jen Plank's avatar Jen Plank
Browse files

changed test to not email me.

parent e3c47a28
No related branches found
No related tags found
1 merge request!63changed test to not email me.
Pipeline #445 passed
......@@ -35,7 +35,7 @@ def test_send_email():
url = 'http://localhost:3458/notify/email/send'
headers = {'content-type': 'application/json', 'Accept-Charset': 'UTF-8', 'subject': 'testing'}
json_packet = {"destination_email": "jplank@nrao.edu", "subject": "first thing", "message": "second thing"}
json_packet = {"destination_email": "your-email@nrao.edu", "subject": "first thing", "message": "second thing"}
r = requests.post(url, headers=headers, json=json_packet)
print(r)
......@@ -50,7 +50,7 @@ def test_bad_template_name():
url = 'http://localhost:3458/notify/nonsense/send'
headers = {'content-type': 'application/json', 'Accept-Charset': 'UTF-8', 'subject': 'testing'}
json_packet = {"destination_email": "jplank@nrao.edu", "stuff": "first thing", "more": "second thing"}
json_packet = {"destination_email": "your-email@nrao.edu", "stuff": "first thing", "more": "second thing"}
r = requests.post(url, headers=headers, json=json_packet)
print(r)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment