Tests
This commit is contained in:
parent
8d0aa3aeda
commit
210a5332ff
1 changed files with 9 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue