deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [1/3] git commit: CIMI tests: sent auth headers for CEP, too
Date Wed, 24 Apr 2013 11:38:51 GMT
Updated Branches:
  refs/heads/master 1d9177495 -> 92876691b


CIMI tests: sent auth headers for CEP, too


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/92876691
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/92876691
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/92876691

Branch: refs/heads/master
Commit: 92876691bb6d5fa4a372eecf2add0ce1f6f6c5b5
Parents: bff0086
Author: David Lutterkort <lutter@redhat.com>
Authored: Tue Apr 23 16:43:05 2013 -0700
Committer: marios <marios@redhat.com>
Committed: Wed Apr 24 14:34:57 2013 +0300

----------------------------------------------------------------------
 tests/cimi/test_helper.rb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/92876691/tests/cimi/test_helper.rb
----------------------------------------------------------------------
diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb
index c4bedac..778bb8f 100644
--- a/tests/cimi/test_helper.rb
+++ b/tests/cimi/test_helper.rb
@@ -88,7 +88,9 @@ module CIMI
       private
       def xml
         unless @xml
-          @xml = RestClient.get(cep_url, "Accept" => "application/xml").xml
+          h = auth_header
+          h['Accept'] = 'application/xml'
+          @xml = RestClient.get(cep_url, h).xml
         end
         @xml
       end


Mime
View raw message