deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 7/8] CIMI tests (cep_test): explicitly retrieve each collection
Date Fri, 09 Nov 2012 04:18:46 GMT
From: David Lutterkort <lutter@redhat.com>

We need to make sure that what comes back is reasonable
---
 tests/cimi/cep_test.rb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/cimi/cep_test.rb b/tests/cimi/cep_test.rb
index 364d9e5..42bb057 100644
--- a/tests/cimi/cep_test.rb
+++ b/tests/cimi/cep_test.rb
@@ -63,6 +63,8 @@ class CloundEntryPointBehavior < CIMI::Test::Spec
         coll.must_respond_to :href, "#{root} collection"
         unless coll.href.nil?
           coll.href.must_be_uri "#{root} collection"
+          model = fetch(coll.href)
+          last_response.code.must_equal 200
         end
       end
     end
-- 
1.7.7.6


Mime
View raw message