Guest User

Untitled

a guest
Jan 23rd, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. A test response
  2. ======================================================================
  3. FAIL: test_index (__main__.EndpointTests)
  4. ----------------------------------------------------------------------
  5. Traceback (most recent call last):
  6. File "/home/anonymous/PycharmProjects/server-py3/tests/test_DServer.py", line 67, in test_index
  7.  
  8. self.assertEqual(response.body, ['Hello World!'])
  9. AssertionError: Lists differ: [b'Hello World!'] != ['Hello World!']
  10.  
  11. First differing element 0:
  12. b'Hello World!'
  13. 'Hello World!'
  14.  
  15. - [b'Hello World!']
  16. ? -
  17.  
  18. + ['Hello World!']
  19.  
  20. ======================================================================
  21. FAIL: test_valid_login (__main__.EndpointTests)
  22. ----------------------------------------------------------------------
  23. Traceback (most recent call last):
  24. File "/home/anonymous/PycharmProjects/server-py3/tests/test_DServer.py", line 73, in test_valid_login
  25. self.assertEqual(response.output_status, '200 OK')
  26. AssertionError: b'200 OK' != '200 OK'
Add Comment
Please, Sign In to add comment