c.icon,
'stored:https://d1anwqy6ci9o1i.cloudfront.net/' +
'users%2F366%2Ficons%2Fxqmypqvflgdy28aorw9ml_shock.png')
- self.assertEqual(c.character, 'Keltham')
- self.assertEqual(c.screen_name, 'lawful chaotic')
- self.assertEqual(c.author, 'Iarwain')
+ assert c.character
+ assert c.screen_name
+ assert c.author
+ self.assertEqual(list(c.character.stripped_strings), ['Keltham'])
+ self.assertEqual(
+ list(c.screen_name.stripped_strings), ['lawful chaotic'])
+ self.assertEqual(list(c.author.stripped_strings), ['Iarwain'])
self.assertEqual(str(c.content),
'<div class="post-content"><p></p></div>')