deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1196138 - /incubator/deltacloud/trunk/server/tests/common.rb
Date Tue, 01 Nov 2011 17:08:27 GMT
Author: mfojtik
Date: Tue Nov  1 17:08:27 2011
New Revision: 1196138

URL: http://svn.apache.org/viewvc?rev=1196138&view=rev
Log:
Core: Removed load from common.rb in order to execute DC tests

Modified:
    incubator/deltacloud/trunk/server/tests/common.rb

Modified: incubator/deltacloud/trunk/server/tests/common.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/common.rb?rev=1196138&r1=1196137&r2=1196138&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/tests/common.rb (original)
+++ incubator/deltacloud/trunk/server/tests/common.rb Tue Nov  1 17:08:27 2011
@@ -27,10 +27,7 @@ require 'json'
 require 'digest/sha1'
 require 'base64'
 require 'rack/test'
-
-server_dir = ENV['API_FRONTEND'] == 'cimi' ? 'cimi' : 'deltacloud'
-load File.join($top_srcdir, 'lib', server_dir, 'server.rb')
-
+require "%s/server" % (ENV['API_FRONTEND'] == 'cimi' ? 'cimi' : 'deltacloud')
 
 driver
 



Mime
View raw message