[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix test to match change to DCE formatting of UUIDs.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID edeeddb1bbf9e4f5ac5f600cbf4aac8aafec9007
# Parent  ece9b5710b291e82b52064308dcbe3135fd90633
Fix test to match change to DCE formatting of UUIDs.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r ece9b5710b29 -r edeeddb1bbf9 tools/python/xen/xend/tests/test_uuid.py
--- a/tools/python/xen/xend/tests/test_uuid.py  Wed Apr  5 23:59:18 2006
+++ b/tools/python/xen/xend/tests/test_uuid.py  Thu Apr  6 13:21:45 2006
@@ -21,9 +21,9 @@
             self.assertEqual(uuid.toString(inp), expected)
             self.assertEqual(uuid.fromString(expected), inp)
 
-        t([0 for _ in range(0, 16)], "00000000-00000000-00000000-00000000")
+        t([0 for _ in range(0, 16)], "00000000-0000-0000-0000-000000000000")
         t([185, 158, 125, 206, 250, 178, 125, 57, 2, 6, 162, 74, 178, 236,
-           196, 5], "b99e7dce-fab27d39-0206a24a-b2ecc405")
+           196, 5], "b99e7dce-fab2-7d39-0206-a24ab2ecc405")
 
 
 def test_suite():

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.