X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=py%2Ftest%2FTestAnnotations.py;h=6c432bd98a4a5e1aad25c6fa691abc8d45b0585c;hp=32949d47eab01eefdb49abdf9c88a217f91ab4d1;hb=b2b25b0aeb07c0a77e5a552ae0c29238578442ea;hpb=c417e847eccd0af3bf9dfed0bc252115bbbf3d83 diff --git a/py/test/TestAnnotations.py b/py/test/TestAnnotations.py index 32949d4..6c432bd 100644 --- a/py/test/TestAnnotations.py +++ b/py/test/TestAnnotations.py @@ -19,8 +19,9 @@ class TestAnnotations(unittest.TestCase): def testIter(self): name_value = 'name_value' a = mussa.annotations(name_value) - # It'd be nice if this worked. - # l = [ x for x in a ] + l = [ x for x in a ] + self.failUnlessEqual(len(l), 1) + self.failUnlessEqual(l[0], ('name', 'name_value')) def suite(): return unittest.makeSuite(TestAnnotations, 'test')