File: disable-net-test.patch

package info (click to toggle)
ruby-mechanize 2.10.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,432 kB
  • sloc: ruby: 11,645; makefile: 7; sh: 4
file content (14 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Disable test that wants internet. Sigh.
Author: Utkarsh Gupta <utkarsh@debian.org>

--- a/test/test_mechanize_http_agent.rb
+++ b/test/test_mechanize_http_agent.rb
@@ -1715,7 +1715,7 @@
     assert_equal @agent.proxy_uri.password, 'lol'
   end
 
-  def test_set_proxy_service_name
+  def _test_set_proxy_service_name
     @agent.set_proxy 'www.example.com', 'http', 'joe', 'lol'
 
     assert_equal @agent.proxy_uri.host,     'www.example.com'