summaryrefslogtreecommitdiff
path: root/model.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-11-23 16:44:01 +0100
committerChristoph Helma <helma@in-silico.ch>2010-11-23 16:44:01 +0100
commit3f73837d5f7eaca5e58844c8151d8387d1fab016 (patch)
treeab48563dc366e0f3228b31d2decc504c9d659b28 /model.rb
parent2824a2fdb2aa308ad77ead17ee6c7cba9c69ab46 (diff)
global setup/teardown, cucumber tests removed
Diffstat (limited to 'model.rb')
-rw-r--r--model.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/model.rb b/model.rb
index 2492b82..6bc5d6e 100644
--- a/model.rb
+++ b/model.rb
@@ -7,7 +7,7 @@ class ModelTest < Test::Unit::TestCase
def setup
@models = [
- "http://localhost/model/1",
+ OpenTox::Model.all.last,
#"http://apps.ideaconsult.net:8080/ambit2/algorithm/J48",
]
end
@@ -15,14 +15,13 @@ class ModelTest < Test::Unit::TestCase
def teardown
end
-=begin
def test_metadata
@models.each do |model|
puts model
validate_owl(model)
end
end
-=end
+=begin
def test_run_external
{
#"http://opentox.informatik.tu-muenchen.de:8080/OpenTox-dev/algorithm/J48" => {:dataset_uri => "http://apps.ideaconsult.net:8080/ambit2/dataset/10", :prediction_feature => "http://apps.ideaconsult.net:8080/ambit2/feature/21595"},
@@ -39,4 +38,5 @@ class ModelTest < Test::Unit::TestCase
end
end
+=end