File: 0002-Disable-tests-that-hit-the-network.patch

package info (click to toggle)
ruby-css-parser 1.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 268 kB
  • ctags: 199
  • sloc: ruby: 1,742; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 612 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Antonio Terceiro <terceiro@debian.org>
Date: Wed, 24 Jun 2015 18:18:23 -0300
Subject: Disable tests that hit the network

---
 test/test_css_parser_loading.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_css_parser_loading.rb b/test/test_css_parser_loading.rb
index 20fc87c..c1111df 100644
--- a/test/test_css_parser_loading.rb
+++ b/test/test_css_parser_loading.rb
@@ -160,4 +160,4 @@ class CssParserLoadingTests < Test::Unit::TestCase
       cp_without_exceptions.load_uri!("#{@uri_base}/no-exist.xyz")
     end
   end
-end
+end if false # disable this entire test class