summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-01-31 16:02:53 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-01-31 16:03:04 +0000
commit1098e0f33478497a8b3d15186389a095d38388c0 (patch)
treebf8ca36fc64ceb75b3da16a5ee475a670fc5aa34
parente6245636748101809e76d2a82aea44b4b04c428c (diff)
Make the test pass again
-rw-r--r--test/test-specparser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test-specparser.py b/test/test-specparser.py
index 4248fca6..806d7fc8 100644
--- a/test/test-specparser.py
+++ b/test/test-specparser.py
@@ -19,8 +19,8 @@ Spec(telepathy-spec tools test case)
>>> spec.interfaces
[Interface(im.telepathy1.SpecAutoGenTest)]
->>> spec.errors
-{u'im.telepathy1.SpecAutoGenTest.OtherError': Error(im.telepathy1.SpecAutoGenTest.OtherError), u'im.telepathy1.SpecAutoGenTest.MiscError': Error(im.telepathy1.SpecAutoGenTest.MiscError)}
+>>> sorted(spec.errors.items())
+[(u'im.telepathy1.SpecAutoGenTest.MiscError', Error(im.telepathy1.SpecAutoGenTest.MiscError)), (u'im.telepathy1.SpecAutoGenTest.OtherError', Error(im.telepathy1.SpecAutoGenTest.OtherError))]
>>> spec.generic_types
[]
@@ -81,13 +81,13 @@ None
[(u'LowBit', u'1'), (u'HighBit', u'128')]
>>> sorted(spec.everything.items())
-[(u'im.telepathy1.SpecAutoGenTest', ClientInterest(im.telepathy1.SpecAutoGenTest)), (u'im.telepathy1.SpecAutoGenTest.DoStuff', Method(im.telepathy1.SpecAutoGenTest.DoStuff)), (u'im.telepathy1.SpecAutoGenTest.Introspective', Property(im.telepathy1.SpecAutoGenTest.Introspective:b)), (u'im.telepathy1.SpecAutoGenTest.StuffHappened', Signal(im.telepathy1.SpecAutoGenTest.StuffHappened)), (u'im.telepathy1.SpecAutoGenTest.wobbly', AwkwardTelepathyProperty(im.telepathy1.SpecAutoGenTest.wobbly:b)), (u'im.telepathy1.SpecAutoGenTest/badgers', ClientInterest(im.telepathy1.SpecAutoGenTest/badgers))]
+[(u'im.telepathy1.SpecAutoGenTest', ClientInterest(im.telepathy1.SpecAutoGenTest)), (u'im.telepathy1.SpecAutoGenTest.DoStuff', Method(im.telepathy1.SpecAutoGenTest.DoStuff)), (u'im.telepathy1.SpecAutoGenTest.Introspective', Property(im.telepathy1.SpecAutoGenTest.Introspective:b)), (u'im.telepathy1.SpecAutoGenTest.StuffHappened', Signal(im.telepathy1.SpecAutoGenTest.StuffHappened)), (u'im.telepathy1.SpecAutoGenTest/badgers', ClientInterest(im.telepathy1.SpecAutoGenTest/badgers))]
>>> map (lambda o: i.added, spec.everything.values ())
-[None, None, None, None, None, None]
+[None, None, None, None, None]
>>> map (lambda o: i.deprecated, spec.everything.values ())
-[None, None, None, None, None, None]
+[None, None, None, None, None]
"""
if __name__ == '__main__':