diff options
author | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-11-30 19:48:21 +0000 |
---|---|---|
committer | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-11-30 19:48:21 +0000 |
commit | 3fba743862e569e23f5b895c36b2f6942622e319 (patch) | |
tree | 5579ac1d2b9258bfa7f44d0ad75e47c947d93dca /tools | |
parent | 57daa6655da8c710e9b75b3286bcdb654d38e9d4 (diff) | |
download | xen-3fba743862e569e23f5b895c36b2f6942622e319.tar.gz xen-3fba743862e569e23f5b895c36b2f6942622e319.tar.bz2 xen-3fba743862e569e23f5b895c36b2f6942622e319.zip |
Fix test following uuid format change in changeset 8089.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xend/tests/test_uuid.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/xend/tests/test_uuid.py b/tools/python/xen/xend/tests/test_uuid.py index cc78bd020c..d79ab53e4a 100644 --- a/tools/python/xen/xend/tests/test_uuid.py +++ b/tools/python/xen/xend/tests/test_uuid.py @@ -21,9 +21,9 @@ class test_uuid(unittest.TestCase): self.assertEqual(uuid.toString(inp), expected) self.assertEqual(uuid.fromString(expected), inp) - t([0 for i in range(0, 16)], "00000000-0000-0000-0000-000000000000") + t([0 for _ in range(0, 16)], "00000000-00000000-00000000-00000000") t([185, 158, 125, 206, 250, 178, 125, 57, 2, 6, 162, 74, 178, 236, - 196, 5], "b99e7dce-fab2-7d39-0206-a24ab2ecc405") + 196, 5], "b99e7dce-fab27d39-0206a24a-b2ecc405") def test_suite(): |