WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix test following uuid format change in changeset 8089.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix test following uuid format change in changeset 8089.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Nov 2005 21:50:12 +0000
Delivery-date: Wed, 30 Nov 2005 21:50:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix test following uuid format change in changeset 8089., Xen patchbot -unstable <=