Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A9F67D13D for ; Tue, 19 Feb 2013 22:53:57 +0000 (UTC) Received: (qmail 34443 invoked by uid 500); 19 Feb 2013 22:53:57 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 34426 invoked by uid 500); 19 Feb 2013 22:53:57 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 34417 invoked by uid 99); 19 Feb 2013 22:53:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 22:53:57 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rlandy@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 22:53:49 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1JMrRO9015791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Feb 2013 17:53:27 -0500 Received: from localhost.localdomain.com (vpn-52-127.rdu2.redhat.com [10.10.52.127]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r1JMrQlH013795 for ; Tue, 19 Feb 2013 17:53:26 -0500 From: rlandy@redhat.com To: dev@deltacloud.apache.org Subject: [PATCH 1/3] CIMI: Tests - minor changes to support other providers Date: Tue, 19 Feb 2013 17:53:20 -0500 Message-Id: <1361314402-25957-2-git-send-email-rlandy@redhat.com> In-Reply-To: <1361314402-25957-1-git-send-email-rlandy@redhat.com> References: <1361314402-25957-1-git-send-email-rlandy@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Virus-Checked: Checked by ClamAV on apache.org From: Ronelle Landy --- tests/cimi/part5_test.rb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cimi/part5_test.rb b/tests/cimi/part5_test.rb index 566ef26..8f2eea2 100644 --- a/tests/cimi/part5_test.rb +++ b/tests/cimi/part5_test.rb @@ -79,7 +79,7 @@ class ManipulateAMachine < CIMI::Test::Spec end it "should have a valid state" do - s = Set.new ["RUNNING", "NEW", "PAUSED", "STOPPED", "STARTED"] + s = Set.new ["RUNNING", "NEW", "PAUSED", "STOPPED", "STARTED", "CREATING"] log.info("machine state: " + machine.state.upcase) s.must_include machine.state.upcase end @@ -109,7 +109,7 @@ class ManipulateAMachine < CIMI::Test::Spec assert_silent { discover_uri_for("stop","", machine.operations) } assert_silent { discover_uri_for("capture","", machine.operations) } elsif machine.state.upcase.eql?("STOPPED") - assert_silent { discover_uri_for(/\/start/,"", machine.operations) } + assert_silent { discover_uri_for("start","", machine.operations) } assert_silent { discover_uri_for("delete","", machine.operations) } assert_silent { discover_uri_for("capture","", machine.operations) } else -- 1.7.7.6