File: skip-network-tests

package info (click to toggle)
libwww-shorten-github-perl 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 132 kB
  • ctags: 4
  • sloc: perl: 41; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Skip network tests
 Skip tests that use network, which is forbidden
 by Debian policy.
Author: dod
Applied-Upstream: NA
--- a/t/002_shorten.t
+++ b/t/002_shorten.t
@@ -1,4 +1,4 @@
-use Test::More tests => 1;
+use Test::More skip_all => "cannot use network during tests";
 
 use strict;
 use warnings;
--- a/t/003_lengthen.t
+++ b/t/003_lengthen.t
@@ -1,4 +1,4 @@
-use Test::More tests => 2;
+use Test::More skip_all => "cannot use network during tests";
 
 use strict;
 use warnings;