Merge "XenAPI: remove hardcode dom0 plugin version in unit test"

This commit is contained in:
Jenkins 2017-05-22 23:53:26 +00:00 committed by Gerrit Code Review
commit 63f2b76159

View File

@ -781,7 +781,8 @@ class SessionBase(object):
zlib.compress(("dom_id: %s" % dom_id).encode('utf-8')))
def _plugin_dom0_plugin_version_get_version(self, method, args):
return pickle.dumps("2.0")
return pickle.dumps(
xenapi_session.XenAPISession.PLUGIN_REQUIRED_VERSION)
def _plugin_xenhost_query_gc(self, method, args):
return pickle.dumps("False")