aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/tests
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2007-02-01 11:42:50 +0000
committerEwan Mellor <ewan@xensource.com>2007-02-01 11:42:50 +0000
commit6880c9f6b778acf031f54fb8f2b44730db085434 (patch)
tree39f08a7777357f88b2c482eb1c13695177a01142 /tools/xm-test/tests
parent9c4ed974a4505b140782688093bc54d750716e38 (diff)
downloadxen-6880c9f6b778acf031f54fb8f2b44730db085434.tar.gz
xen-6880c9f6b778acf031f54fb8f2b44730db085434.tar.bz2
xen-6880c9f6b778acf031f54fb8f2b44730db085434.zip
Copy the definition of DOM0_UUID into XenDomain so that we don't need to import
large swathes of the server to run the Xen-API tests. Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/xm-test/tests')
-rw-r--r--tools/xm-test/tests/vtpm/09_vtpm-xapi.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/xm-test/tests/vtpm/09_vtpm-xapi.py b/tools/xm-test/tests/vtpm/09_vtpm-xapi.py
index 4798dc13c6..6a17c51045 100644
--- a/tools/xm-test/tests/vtpm/09_vtpm-xapi.py
+++ b/tools/xm-test/tests/vtpm/09_vtpm-xapi.py
@@ -13,7 +13,6 @@
from XmTestLib import xapi
from XmTestLib.XenAPIDomain import XmTestAPIDomain
from XmTestLib import *
-from xen.xend import XendDomain
from vtpm_utils import *
import commands
import os
@@ -28,7 +27,7 @@ except Exception, e:
vm_uuid = domain.get_uuid()
vtpmcfg = {}
-vtpmcfg['backend'] = XendDomain.DOM0_UUID
+vtpmcfg['backend'] = DOM0_UUID
vtpmcfg['VM'] = vm_uuid
session = xapi.connect()