Guest User

Untitled

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