adjust AOP PubChem value again
authorgebele <gebele@in-silico.ch>
Tue, 2 Jul 2019 12:54:50 +0000 (12:54 +0000)
committergebele <gebele@in-silico.ch>
Tue, 2 Jul 2019 12:54:50 +0000 (12:54 +0000)
service-tests/service-tests.rb

index bd05073..33791b9 100644 (file)
@@ -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