[BioRuby-cvs] bioruby/test/unit/bio/io test_ensembl.rb,1.1,1.2
Mitsuteru C. Nakao
nakao at dev.open-bio.org
Thu Apr 27 05:38:52 UTC 2006
Update of /home/repository/bioruby/bioruby/test/unit/bio/io
In directory dev.open-bio.org:/tmp/cvs-serv2667/test/unit/bio/io
Modified Files:
test_ensembl.rb
Log Message:
* ensembl.rb: Use Bio::Command::NetTools.net_http_start for proxy server.
* ensembl.rb: Added Ensembl.server_uri method.
Index: test_ensembl.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/io/test_ensembl.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_ensembl.rb 14 Apr 2006 06:28:09 -0000 1.1
--- test_ensembl.rb 27 Apr 2006 05:38:50 -0000 1.2
***************
*** 19,25 ****
class TestEnsembl < Test::Unit::TestCase
def test_server_name
! assert_equal('www.ensembl.org', Bio::Ensembl::ServerName)
end
end
--- 19,34 ----
class TestEnsembl < Test::Unit::TestCase
def test_server_name
! assert_equal('http://www.ensembl.org', Bio::Ensembl::EBIServerURI)
end
+ def test_server_uri
+ assert_equal('http://www.ensembl.org', Bio::Ensembl.server_uri)
+ end
+
+ def test_set_server_uri
+ host = 'http://localhost'
+ Bio::Ensembl.server_uri(host)
+ assert_equal(host, Bio::Ensembl.server_uri)
+ end
end
***************
*** 32,36 ****
class TestEnsemblBaseClient < Test::Unit::TestCase
def test_class
! assert_equal(Bio::PSORT::CGIDriver, Bio::Ensembl::Base::Client.superclass)
end
end
--- 41,45 ----
class TestEnsemblBaseClient < Test::Unit::TestCase
def test_class
!
end
end
More information about the bioruby-cvs
mailing list