ia64/xen-unstable

changeset 8145:b7790c2874c4

Fix test following uuid format change in changeset 8089.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Wed Nov 30 19:48:21 2005 +0000 (2005-11-30)
parents 5dd8073a4f16
children 7c90df7df37e
files tools/python/xen/xend/tests/test_uuid.py
line diff
     1.1 --- a/tools/python/xen/xend/tests/test_uuid.py	Wed Nov 30 19:26:32 2005 +0000
     1.2 +++ b/tools/python/xen/xend/tests/test_uuid.py	Wed Nov 30 19:48:21 2005 +0000
     1.3 @@ -21,9 +21,9 @@ class test_uuid(unittest.TestCase):
     1.4              self.assertEqual(uuid.toString(inp), expected)
     1.5              self.assertEqual(uuid.fromString(expected), inp)
     1.6  
     1.7 -        t([0 for i in range(0, 16)], "00000000-0000-0000-0000-000000000000")
     1.8 +        t([0 for _ in range(0, 16)], "00000000-00000000-00000000-00000000")
     1.9          t([185, 158, 125, 206, 250, 178, 125, 57, 2, 6, 162, 74, 178, 236,
    1.10 -           196, 5], "b99e7dce-fab2-7d39-0206-a24ab2ecc405")
    1.11 +           196, 5], "b99e7dce-fab27d39-0206a24a-b2ecc405")
    1.12  
    1.13  
    1.14  def test_suite():