summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2019-07-02 12:54:50 +0000
committergebele <gebele@in-silico.ch>2019-07-02 12:54:50 +0000
commit54902a0b5e04723058636226c3b0ae9f1b78fc39 (patch)
treeb794d68d9e2c79167963c13f548cfd337dc236b9
parentc9b8d44459d70037510e5d6976d63a94a80a351c (diff)
adjust AOP PubChem value again
-rw-r--r--service-tests/service-tests.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/service-tests/service-tests.rb b/service-tests/service-tests.rb
index bd05073..33791b9 100644
--- a/service-tests/service-tests.rb
+++ b/service-tests/service-tests.rb
@@ -1,6 +1,5 @@
-# Make updates and copy to container
+# Make updates in this file and copy to container (even if stopped !)
# docker cp service-tests.rb service-tests:/home/ist/service-tests/service-tests.rb
-# even if container is stopped !
require 'minitest/autorun'
require 'rest-client'
@@ -184,7 +183,7 @@ class WebServiceTests < Minitest::Test
assert_equal response.code, 200
xml = Nokogiri::HTML.parse(response.body)
value = xml.at('th').text.split.first.strip
- assert_equal "(7~{S},9~{S})-7-[(2~{R},4~{S},5~{S},6~{S})-4-amino-5-hydroxy-6-methyloxan-2-yl]oxy-6,9,11-trihydroxy-9-(2-hydroxyacetyl)-4-methoxy-8,10-dihydro-7~{H}-tetracene-5,12-dione", value
+ assert_equal "(7S,9S)-7-[(2R,4S,5S,6S)-4-amino-5-hydroxy-6-methyloxan-2-yl]oxy-6,9,11-trihydroxy-9-(2-hydroxyacetyl)-4-methoxy-8,10-dihydro-7H-tetracene-5,12-dione", value
end
def test_dg2_Elena
@@ -272,6 +271,12 @@ class WebServiceTests < Minitest::Test
assert_equal response.code, 200
end
+ def test_orn_lazar_website
+ puts "\nhttps://lazar.prod.openrisknet.org/"
+ response = RestClient.get "https://lazar.prod.openrisknet.org/"
+ assert_equal response.code, 200
+ end
+
def test_server_invalid_cert
puts "\ninvalid cert test4"
assert_raises RestClient::SSLCertificateNotVerified do