diff --git a/tests/core/test_output.py b/tests/core/test_output.py index aeb2d70..87c1017 100644 --- a/tests/core/test_output.py +++ b/tests/core/test_output.py @@ -117,9 +117,11 @@ class i3(unittest.TestCase): self.assertEqual('test', self.someBlock.pangoize('test')) self.assertFalse('markup' in self.someBlock.dict()) - self.assertEqual('test', - self.someBlock.pangoize({ 'pango': { 'attr': 'blub', 'x': 'y', 'full_text': 'test' } }) - ) + pango = self.someBlock.pangoize({ 'pango': { 'attr': 'blub', 'x': 'y', 'full_text': 'test' } }) + self.assertTrue('attr="blub"' in pango) + self.assertTrue('x="y"' in pango) + self.assertTrue('test' in pango) self.assertEqual('pango', self.someBlock.dict()['markup']) def test_padding(self):