From e9af4c906509bb18d5e1b6899cba478a04907394 Mon Sep 17 00:00:00 2001 From: Kieran Doonan Date: Mon, 4 Jul 2016 14:21:31 +0100 Subject: [PATCH] changed equal to be for booleans --- tests/test_ec2/test_elastic_block_store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ec2/test_elastic_block_store.py b/tests/test_ec2/test_elastic_block_store.py index a5d0ea3b5..5ad6a5399 100644 --- a/tests/test_ec2/test_elastic_block_store.py +++ b/tests/test_ec2/test_elastic_block_store.py @@ -20,7 +20,7 @@ def test_create_and_delete_volume(): all_volumes.should.have.length_of(1) all_volumes[0].size.should.equal(80) all_volumes[0].zone.should.equal("us-east-1a") - all_volumes[0].encrypted.should.equal(False) + all_volumes[0].encrypted.should.be(False) volume = all_volumes[0] volume.delete() @@ -41,7 +41,7 @@ def test_create_encrypted_volume(): conn.create_volume(80, "us-east-1a", encrypted=True) all_volumes = conn.get_all_volumes() - all_volumes[0].encrypted.should.equal(True) + all_volumes[0].encrypted.should.be(True) @mock_ec2