[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix test following uuid format change in changeset 8089.
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID b7790c2874c413b7b57804da7f689b706cfed9c0 # Parent 5dd8073a4f167ba76592bad16b4acb5df18a9d66 Fix test following uuid format change in changeset 8089. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 5dd8073a4f16 -r b7790c2874c4 tools/python/xen/xend/tests/test_uuid.py --- a/tools/python/xen/xend/tests/test_uuid.py Wed Nov 30 19:26:32 2005 +++ b/tools/python/xen/xend/tests/test_uuid.py Wed Nov 30 19:48:21 2005 @@ -21,9 +21,9 @@ 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(): _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |