[DRE-commits] [ruby-css-parser] 05/07: Exclude more tests hitting the network (Closes: #873632)

Cédric Boutillier boutil at moszumanska.debian.org
Thu Sep 28 23:16:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-css-parser.

commit cb709c5a7faf3474ee61d243ce3a6033401d785f
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Sep 29 00:56:10 2017 +0200

    Exclude more tests hitting the network (Closes: #873632)
---
 .../0002-Disable-tests-that-hit-the-network.patch  | 24 ++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/debian/patches/0002-Disable-tests-that-hit-the-network.patch b/debian/patches/0002-Disable-tests-that-hit-the-network.patch
index 954bb90..255acb3 100644
--- a/debian/patches/0002-Disable-tests-that-hit-the-network.patch
+++ b/debian/patches/0002-Disable-tests-that-hit-the-network.patch
@@ -1,16 +1,32 @@
 From: Antonio Terceiro <terceiro at debian.org>
-Date: Wed, 24 Jun 2015 18:18:23 -0300
+Date: Fri, 29 Sep 2017 00:54:48 +0200
 Subject: Disable tests that hit the network
 
 ---
- test/test_css_parser_loading.rb | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ test/test_css_parser_loading.rb        | 2 +-
+ test/test_css_parser_offset_capture.rb | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
 
+diff --git a/test/test_css_parser_loading.rb b/test/test_css_parser_loading.rb
+index 5177475..7382f7e 100644
 --- a/test/test_css_parser_loading.rb
 +++ b/test/test_css_parser_loading.rb
-@@ -207,4 +207,4 @@ class CssParserLoadingTests < Minitest::
+@@ -207,4 +207,4 @@ class CssParserLoadingTests < Minitest::Test
  
      cp_without_exceptions.load_uri!("#{@uri_base}/no-exist.xyz")
    end
 -end
 +end if false # disable this entire test class
+diff --git a/test/test_css_parser_offset_capture.rb b/test/test_css_parser_offset_capture.rb
+index 60ae33b..401336b 100644
+--- a/test/test_css_parser_offset_capture.rb
++++ b/test/test_css_parser_offset_capture.rb
+@@ -45,7 +45,7 @@ class CssParserOffsetCaptureTests < Minitest::Test
+       assert_equal 10752, rules.last.offset.last
+       assert_equal 'https://dialect.ca/inc/screen.css', rules.last.filename
+     end
+-  end
++  end if false
+ 
+   def test_capturing_offsets_from_string
+     css = <<-CSS

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-css-parser.git



More information about the Pkg-ruby-extras-commits mailing list