aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/xm-test/lib/XmTestLib/acm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xm-test/lib/XmTestLib/acm.py b/tools/xm-test/lib/XmTestLib/acm.py
index 5456da6453..23564b5096 100644
--- a/tools/xm-test/lib/XmTestLib/acm.py
+++ b/tools/xm-test/lib/XmTestLib/acm.py
@@ -49,7 +49,7 @@ def ACMLoadPolicy_XenAPI(policy='xm-test'):
if polname != policy:
# Try it, maybe it's not activated
traceCommand("xm setpolicy %s %s" %
- (xsconstants.XS_POLICY_ACM, policy))
+ (xsconstants.ACM_POLICY_ID, policy))
polname = getSystemPolicyName()
if polname != policy:
FAIL("Need to have a system with no or policy '%s' active, "