From 8464d20e48292a369bc43ece52e7a996dd895008 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@652086 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/tests/datatypes.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'qpid/python/tests') diff --git a/qpid/python/tests/datatypes.py b/qpid/python/tests/datatypes.py index 7844cf4d10..e4d6723d95 100644 --- a/qpid/python/tests/datatypes.py +++ b/qpid/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