File: disable-net-test.patch

package info (click to toggle)
ruby-mechanize 2.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,516 kB
  • sloc: ruby: 11,754; makefile: 7; sh: 2
file content (14 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (4)
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'