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 | 68d2ef6ed8e74e312ba8da5a1a9e83c1a099406a (patch) | |
| tree | 0e3ff4b0fffc2704be911258c822fda9a3debdb3 /python/tests | |
| parent | acc0dee435e1fa22e3b1e7cdfecf6913bf88988e (diff) | |
| download | qpid-python-68d2ef6ed8e74e312ba8da5a1a9e83c1a099406a.tar.gz | |
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
Diffstat (limited to 'python/tests')
| -rw-r--r-- | python/tests/datatypes.py | 9 |
1 files changed, 9 insertions, 0 deletions
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() |
