1 import unittest
2
3 from openid import oidutil
4
7 s = oidutil.Symbol('xxx')
8 self.failUnlessEqual(s, s)
9
11 x = oidutil.Symbol('xxx')
12 y = oidutil.Symbol('xxx')
13 self.failUnlessEqual(x, y)
14
16 x = oidutil.Symbol('xxx')
17 y = oidutil.Symbol('yyy')
18 self.failIfEqual(x, y)
19
21 x = oidutil.Symbol('xxx')
22 self.failIf(x != x)
23
25 x = oidutil.Symbol('xxx')
26 y = oidutil.Symbol('xxx')
27 self.failIf(x != y)
28
30 x = oidutil.Symbol('xxx')
31 y = oidutil.Symbol('yyy')
32 self.failUnless(x != y)
33
34 if __name__ == '__main__':
35 unittest.main()
36