Bio::Tools::CodonTable and Bio::Tools::IUPAC: prepare with dzil.
[bioperl-live.git] / t / Root / RootIO.t
blob50e702119fda0bb0e20a2ea380edc0ed072cc344
1 ##############################################
2 # tests http retrieval
3 ##############################################
5 use strict;
6 use warnings;
8 BEGIN {
9     use Bio::Root::Test;
10     test_begin(-tests => 3,
11                -requires_modules => ["LWP::Protocol::https"],
12                -requires_networking => 1);
13     use_ok 'Bio::Root::IO';
16 my $TESTURL = 'https://bioperl.org';
18 my $rio;
20 ok $rio = Bio::Root::IO->new(-url=>$TESTURL), 'default -url method';
21 lives_ok {$rio = Bio::Root::IO->new(-url=>$TESTURL)};