Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A test response
- ======================================================================
- FAIL: test_index (__main__.EndpointTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/anonymous/PycharmProjects/server-py3/tests/test_DServer.py", line 67, in test_index
- self.assertEqual(response.body, ['Hello World!'])
- AssertionError: Lists differ: [b'Hello World!'] != ['Hello World!']
- First differing element 0:
- b'Hello World!'
- 'Hello World!'
- - [b'Hello World!']
- ? -
- + ['Hello World!']
- ======================================================================
- FAIL: test_valid_login (__main__.EndpointTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/anonymous/PycharmProjects/server-py3/tests/test_DServer.py", line 73, in test_valid_login
- self.assertEqual(response.output_status, '200 OK')
- AssertionError: b'200 OK' != '200 OK'
Add Comment
Please, Sign In to add comment