Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5B1ED2009F3 for ; Fri, 20 May 2016 12:09:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 59F06160A0E; Fri, 20 May 2016 10:09:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 16B53160A2F for ; Fri, 20 May 2016 12:09:02 +0200 (CEST) Received: (qmail 98372 invoked by uid 500); 20 May 2016 10:09:02 -0000 Mailing-List: contact notifications-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list notifications@libcloud.apache.org Received: (qmail 98202 invoked by uid 500); 20 May 2016 10:09:02 -0000 Delivered-To: apmail-libcloud-commits@libcloud.apache.org Received: (qmail 98188 invoked by uid 99); 20 May 2016 10:09:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 10:09:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 07351E947E; Fri, 20 May 2016 10:09:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tomaz@apache.org To: commits@libcloud.apache.org Date: Fri, 20 May 2016 10:09:11 -0000 Message-Id: In-Reply-To: <431e31a23eb94a64ae3abecbf94b864f@git.apache.org> References: <431e31a23eb94a64ae3abecbf94b864f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [11/12] libcloud git commit: Update affected tests. archived-at: Fri, 20 May 2016 10:09:04 -0000 Update affected tests. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/74cc7231 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/74cc7231 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/74cc7231 Branch: refs/heads/trunk Commit: 74cc72311ddce0ae3f3794e85add9b20254940b1 Parents: f1594bb Author: Tomaz Muraus Authored: Fri May 20 11:49:04 2016 +0200 Committer: Tomaz Muraus Committed: Fri May 20 11:49:04 2016 +0200 ---------------------------------------------------------------------- libcloud/test/compute/test_openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/74cc7231/libcloud/test/compute/test_openstack.py ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/test_openstack.py b/libcloud/test/compute/test_openstack.py index f5941b0..1d7049e 100644 --- a/libcloud/test/compute/test_openstack.py +++ b/libcloud/test/compute/test_openstack.py @@ -858,7 +858,7 @@ class OpenStack_1_1_Tests(unittest.TestCase, TestCaseMixin): self.assertEqual(len(sizes), 8, 'Wrong sizes count') for size in sizes: - self.assertTrue(isinstance(size.price, float), + self.assertTrue(size.price is None or isinstance(size.price, float), 'Wrong size price type') self.assertTrue(isinstance(size.ram, int)) self.assertTrue(isinstance(size.vcpus, int))