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

package info (click to toggle)
ruby-css-parser 1.21.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 388 kB
  • sloc: ruby: 3,118; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 820 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
22
23
24
25
26
27
From: Lucas Kanashiro <kanashiro@ubuntu.com>
Date: Thu, 8 Feb 2024 17:44:34 -0300
Subject: Disable tests that hit the network

Author: Antonio Terceiro <terceiro@debian.org>
Last-Updated: 2024-02-08
---
 test/test_css_parser_loading.rb        | 2 +-
 test/test_css_parser_offset_capture.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/test/test_css_parser_loading.rb
+++ b/test/test_css_parser_loading.rb
@@ -204,4 +204,4 @@
 
     cp_without_exceptions.load_uri!("#{@uri_base}/no-exist.xyz")
   end
-end
+end if false # disable this entire test class
--- a/test/test_css_parser_offset_capture.rb
+++ b/test/test_css_parser_offset_capture.rb
@@ -104,4 +104,4 @@
     assert_equal 63, rules[3].offset.last
     assert_equal base_dir.join('simple.css').to_s, rules[3].filename
   end
-end
+end if false