Update test_views.py

This commit is contained in:
Tomasz F 2021-04-14 21:32:27 +02:00 committed by GitHub
parent 5150448e4b
commit 579bceaa8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,14 +62,14 @@ class TestViews(TestCase):
students = cookies_data['data']['students']['data'] students = cookies_data['data']['students']['data']
#JAN #JAN
print("\033[94mTesting registering as Jan Kowalski...") print("\033[94mTesting as Jan Kowalski...")
print("\033[95m============================================================") print("\033[95m============================================================")
jan_data = students[0] jan_data = students[0]
cookies_data['data']['students']['data'] = [jan_data] cookies_data['data']['students']['data'] = [jan_data]
get_data_test(self.client, cookies_data, self.assertEquals) get_data_test(self.client, cookies_data, self.assertEquals)
print("\033[96m========================================================================") print("\033[96m========================================================================")
#JOANNA #JOANNA
print("\033[94mTesting registering as Joanna Czerwińska...") print("\033[94mTesting as Joanna Czerwińska...")
print("\033[95m============================================================") print("\033[95m============================================================")
joanna_data = students[3] joanna_data = students[3]
cookies_data['data']['students']['data'] = [joanna_data] cookies_data['data']['students']['data'] = [joanna_data]