This commit is contained in:
Tomasz 2021-02-02 22:24:58 +01:00
parent 8d0aa3aeda
commit 210a5332ff

View file

@ -120,6 +120,15 @@ def get_data_test(client, cookies_data, assertEquals):
response = client.post(reverse('student_data'), content_type='application/xml', data=json.dumps(cookies_data))
assertEquals(response.status_code, 200)
#STATS
#PARTIAL
response = client.post(reverse('partial'), content_type='application/xml', data=json.dumps(cookies_data))
assertEquals(response.status_code, 200)
#YEAR
response = client.post(reverse('year'), content_type='application/xml', data=json.dumps(cookies_data))
assertEquals(response.status_code, 200)
#SEND MESSAGE
for recipient in recipients:
send_data = {