This commit is contained in:
hugovk 2014-04-05 00:51:18 +03:00
parent e4ccd8b767
commit b9d2ca8507

View file

@ -1628,9 +1628,9 @@ class TestPyLast(unittest.TestCase):
self.assertEqual(len(tags_after), len(tags_before) - 2)
found1, found2 = False, False
for tag in tags:
if tag.name == "settag1":
if tag == "settag1":
found1 = True
elif tag.name == "settag2":
elif tag == "settag2":
found2 = True
self.assertTrue(found1)
self.assertTrue(found2)