deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 1/3] EC2 tests: read credentials from config file
Date Tue, 28 Aug 2012 23:35:33 GMT
From: David Lutterkort <lutter@redhat.com>

---
 server/tests/drivers/ec2/common.rb |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/server/tests/drivers/ec2/common.rb b/server/tests/drivers/ec2/common.rb
index a8a5471..fa34237 100644
--- a/server/tests/drivers/ec2/common.rb
+++ b/server/tests/drivers/ec2/common.rb
@@ -6,10 +6,7 @@ require 'vcr'
 require_relative '../../test_helper.rb'
 
 def credentials
-  {
-    :user => 'AKIAJYOQYLLOIWN5LQ3A',
-    :password => 'Ra2ViYaYgocAJqPAQHxMVU/l2sGGU2pifmWT4q3H'
-  }
+  Deltacloud::Test::config.credentials('ec2')
 end
 
 VCR.configure do |c|
-- 
1.7.7.6


Mime
View raw message