Description: conditionally skip tests which need internet access
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2023-02-03

--- a/t/match.t
+++ b/t/match.t
@@ -7,6 +7,8 @@
 my $pkg;
 
 BEGIN {
+    plan skip_all => "Unset NO_NETWORK to enable this test" if $ENV{NO_NETWORK};
+
     $pkg = 'Catmandu::Fix::aat_match';
     use_ok $pkg;
 }
--- a/t/search.t
+++ b/t/search.t
@@ -7,6 +7,8 @@
 my $pkg;
 
 BEGIN {
+    plan skip_all => "Unset NO_NETWORK to enable this test" if $ENV{NO_NETWORK};
+
     $pkg = 'Catmandu::Fix::aat_search';
     use_ok $pkg;
 }
--- a/t/store.t
+++ b/t/store.t
@@ -7,6 +7,8 @@
 my $pkg;
 
 BEGIN {
+    plan skip_all => "Unset NO_NETWORK to enable this test" if $ENV{NO_NETWORK};
+
     $pkg = 'Catmandu::Store::AAT';
     use_ok $pkg;
 }
