From 68d2ef6ed8e74e312ba8da5a1a9e83c1a099406a Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 29 Apr 2008 20:24:48 +0000 Subject: QPID-979: added backwards compatible uuid to qpid.datatypes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652086 13f79535-47bb-0310-9956-ffa450edef68 --- python/tests/datatypes.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'python/tests') diff --git a/python/tests/datatypes.py b/python/tests/datatypes.py index 7844cf4d10..e4d6723d95 100644 --- a/python/tests/datatypes.py +++ b/python/tests/datatypes.py @@ -100,3 +100,12 @@ class RangedSetTest(TestCase): range = a.ranges[0] assert range.lower == 0 assert range.upper == 8 + +class UUIDTest(TestCase): + + def test(self): + # this test is kind of lame, but it does excercise the basic + # functionality of the class + u = uuid4() + for i in xrange(1024): + assert u != uuid4() -- cgit v1.2.1