Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ======================================================================
- ERROR: test_titles_displayed (rango.tests_chapter8.Chapter8ViewTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/Users/markglasgow/Documents/GitHub/semtwo/WAD/2018/Workspace/tango_with_django_project/rango/tests_chapter8.py", line 76, in test_titles_displayed
- self.assertIn('Add Category'.lower(), response.content.decode('ascii').lower())
- File "/Users/markglasgow/anaconda3/envs/rango/lib/python3.7/unittest/case.py", line 1105, in assertIn
- safe_repr(container))
- TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
Add Comment
Please, Sign In to add comment