diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2008-04-29 20:24:48 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2008-04-29 20:24:48 +0000 |
| commit | 8464d20e48292a369bc43ece52e7a996dd895008 (patch) | |
| tree | cedaf993a25dc61a5aab79136bad4f3d70993ec4 /qpid/python/tests | |
| parent | 414f520f8b730c8437ed9c42628f07824a7e9dd1 (diff) | |
| download | qpid-python-8464d20e48292a369bc43ece52e7a996dd895008.tar.gz | |
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
Diffstat (limited to 'qpid/python/tests')
| -rw-r--r-- | qpid/python/tests/datatypes.py | 9 |
1 files changed, 9 insertions, 0 deletions
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() |
