[Bioperl-guts-l] bioperl-live/t SeqVersion.t,1.4,1.5

Senduran Balasubramaniam sendu at dev.open-bio.org
Wed Nov 29 10:21:14 EST 2006


Update of /home/repository/bioperl/bioperl-live/t
In directory dev.open-bio.org:/tmp/cvs-serv3910/t

Modified Files:
	SeqVersion.t 
Log Message:
skip_all if LWP::UserAgent not installed

Index: SeqVersion.t
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/t/SeqVersion.t,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SeqVersion.t	20 Oct 2006 15:55:37 -0000	1.4
--- SeqVersion.t	29 Nov 2006 15:21:12 -0000	1.5
***************
*** 16,24 ****
    }
    use Test::More;
!   plan tests => $NUMTESTS;
  }
  
- use_ok('Bio::DB::SeqVersion');
- 
  ok my $query = Bio::DB::SeqVersion->new(-type => 'gi');
  
--- 16,33 ----
    }
    use Test::More;
!   
!   eval {
! 	require LWP::UserAgent;
!   };
!   if ($@) {
! 	plan skip_all => 'LWP::UserAgent not installed. This means that the module is not usable. Skipping tests';
!   }
!   else {
! 	plan tests => $NUMTESTS;
!   }
!   
!   use_ok('Bio::DB::SeqVersion');
  }
  
  ok my $query = Bio::DB::SeqVersion->new(-type => 'gi');
  



More information about the Bioperl-guts-l mailing list