equal
deleted
inserted
replaced
31 except ImportError: |
31 except ImportError: |
32 json = None |
32 json = None |
33 |
33 |
34 class MakeUidTC(TestCase): |
34 class MakeUidTC(TestCase): |
35 def test_1(self): |
35 def test_1(self): |
36 self.assertNotEquals(make_uid('xyz'), make_uid('abcd')) |
36 self.assertNotEqual(make_uid('xyz'), make_uid('abcd')) |
37 self.assertNotEquals(make_uid('xyz'), make_uid('xyz')) |
37 self.assertNotEqual(make_uid('xyz'), make_uid('xyz')) |
38 |
38 |
39 def test_2(self): |
39 def test_2(self): |
40 d = set() |
40 d = set() |
41 while len(d)<10000: |
41 while len(d)<10000: |
42 uid = make_uid('xyz') |
42 uid = make_uid('xyz') |