X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/aa060d9ba5891fd87fc62664fb30b75bf0463e3e..551bb1c9f85382a90abc89ac622bd363dccd36a7:/glowfic_test.py diff --git a/glowfic_test.py b/glowfic_test.py index d3a6d56..9b802c1 100644 --- a/glowfic_test.py +++ b/glowfic_test.py @@ -57,9 +57,13 @@ class TestMakeChunk(unittest.TestCase): 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), '