From: Michael Goldish Subject: [KVM-AUTOTEST PATCH 2/4] KVM test: kvm.py: convert the params dict to a kvm_utils.Params object Date: Tue, 28 Dec 2010 01:00:46 +0200 Message-ID: <1293490848-28376-2-git-send-email-mgoldish@redhat.com> References: <1293490848-28376-1-git-send-email-mgoldish@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: autotest@test.kernel.org, kvm@vger.kernel.org Return-path: In-Reply-To: <1293490848-28376-1-git-send-email-mgoldish@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org Also bump the env version so old env files will not be used. Signed-off-by: Michael Goldish --- client/tests/kvm/kvm.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py index dc00edd..ceee88f 100644 --- a/client/tests/kvm/kvm.py +++ b/client/tests/kvm/kvm.py @@ -21,9 +21,12 @@ class kvm(test.test): (Online doc - Getting started with KVM testing) """ version = 1 - env_version = 0 + env_version = 1 def run_once(self, params): + # Convert params to a Params object + params = kvm_utils.Params(params) + # Report the parameters we've received and write them as keyvals logging.debug("Test parameters:") keys = params.keys() -- 1.7.3.4