equal
deleted
inserted
replaced
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
7 """ |
7 """ |
8 |
8 |
9 from logilab.common.testlib import TestCase, unittest_main |
9 from logilab.common.testlib import TestCase, unittest_main |
10 |
10 |
11 from cubicweb.common.utils import make_uid, UStringIO, SizeConstrainedList |
11 from cubicweb.utils import make_uid, UStringIO, SizeConstrainedList |
12 |
12 |
13 |
13 |
14 class MakeUidTC(TestCase): |
14 class MakeUidTC(TestCase): |
15 def test_1(self): |
15 def test_1(self): |
16 self.assertNotEquals(make_uid('xyz'), make_uid('abcd')) |
16 self.assertNotEquals(make_uid('xyz'), make_uid('abcd')) |