| 1 |
From: Michael R. Crusoe <[email protected]> |
| 2 |
Subject: test for Internet before declaring number of tests that must pass |
| 3 |
--- libbio-db-ncbihelper-perl.orig/t/EntrezGene.t |
| 4 |
+++ libbio-db-ncbihelper-perl/t/EntrezGene.t |
| 5 |
@@ -4,8 +4,8 @@ |
| 6 |
use strict; |
| 7 |
|
| 8 |
BEGIN { |
| 9 |
- use Test::Most tests => 9; |
| 10 |
use Test::RequiresInternet; |
| 11 |
+ use Test::Most tests => 9; |
| 12 |
use_ok('Bio::SeqIO::entrezgene'); |
| 13 |
use_ok('Bio::DB::EntrezGene'); |
| 14 |
} |
| 15 |
--- libbio-db-ncbihelper-perl.orig/t/GenBank.t |
| 16 |
+++ libbio-db-ncbihelper-perl/t/GenBank.t |
| 17 |
@@ -4,8 +4,8 @@ |
| 18 |
use strict; |
| 19 |
|
| 20 |
BEGIN { |
| 21 |
- use Test::Most tests => 44; |
| 22 |
use Test::RequiresInternet; |
| 23 |
+ use Test::Most tests => 44; |
| 24 |
use_ok('Bio::DB::GenBank'); |
| 25 |
} |
| 26 |
|
| 27 |
--- libbio-db-ncbihelper-perl.orig/t/GenPept.t |
| 28 |
+++ libbio-db-ncbihelper-perl/t/GenPept.t |
| 29 |
@@ -4,8 +4,8 @@ |
| 30 |
use strict; |
| 31 |
|
| 32 |
BEGIN { |
| 33 |
- use Test::Most tests => 21; |
| 34 |
use Test::RequiresInternet; |
| 35 |
+ use Test::Most tests => 21; |
| 36 |
use_ok('Bio::DB::GenPept'); |
| 37 |
} |
| 38 |
|
| 39 |
--- libbio-db-ncbihelper-perl.orig/t/Query-Genbank.t |
| 40 |
+++ libbio-db-ncbihelper-perl/t/Query-Genbank.t |
| 41 |
@@ -4,8 +4,8 @@ |
| 42 |
use strict; |
| 43 |
|
| 44 |
BEGIN { |
| 45 |
- use Test::Most tests => 18; |
| 46 |
use Test::RequiresInternet; |
| 47 |
+ use Test::Most tests => 18; |
| 48 |
|
| 49 |
use_ok('Bio::DB::Query::GenBank'); |
| 50 |
use_ok('Bio::DB::GenBank'); |
| 51 |
--- libbio-db-ncbihelper-perl.orig/t/RefSeq.t |
| 52 |
+++ libbio-db-ncbihelper-perl/t/RefSeq.t |
| 53 |
@@ -4,8 +4,8 @@ |
| 54 |
use strict; |
| 55 |
|
| 56 |
BEGIN { |
| 57 |
- use Test::Most tests => 5; |
| 58 |
use Test::RequiresInternet; |
| 59 |
+ use Test::Most tests => 5; |
| 60 |
use_ok('Bio::DB::GenBank'); |
| 61 |
} |
| 62 |
|