You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2012/08/30 20:27:08 UTC

[4/4] git commit: EC2 tests: read credentials from config file

EC2 tests: read credentials from config file


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

Branch: refs/heads/master
Commit: 8cfb57adf119d322dd18947c4eb6f7c7993dad1e
Parents: fb66c66
Author: David Lutterkort <lu...@redhat.com>
Authored: Tue Aug 28 12:06:42 2012 -0700
Committer: David Lutterkort <lu...@redhat.com>
Committed: Thu Aug 30 11:23:16 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/8cfb57ad/server/tests/drivers/ec2/common.rb
----------------------------------------------------------------------
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|