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 28 29 30 31 32 33 34 35
|
Date: Thu, 09 Aug 2012 18:47:53 -0500
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684421
Origin: Debian
Forwarded: Not-needed
Author: Gunnar Wolf <gwolf@debian.org>
Description: Fix FTBFS when built with no network access
Index: ruby-net-http-persistent/test/test_net_http_persistent.rb
===================================================================
--- ruby-net-http-persistent.orig/test/test_net_http_persistent.rb 2012-07-25 17:37:02.000000000 -0500
+++ ruby-net-http-persistent/test/test_net_http_persistent.rb 2012-08-09 18:45:55.000000000 -0500
@@ -354,6 +354,7 @@
end
def test_connection_for_http_class_with_fakeweb
+ skip 'No network access can be assumed at Debian package build time'
Object.send :const_set, :FakeWeb, nil
c = @http.connection_for @uri
assert_instance_of Net::HTTP, c
@@ -364,6 +365,7 @@
end
def test_connection_for_http_class_with_webmock
+ skip 'No network access can be assumed at Debian package build time'
Object.send :const_set, :WebMock, nil
c = @http.connection_for @uri
assert_instance_of Net::HTTP, c
@@ -385,6 +387,7 @@
end
def test_connection_for_no_ssl_reuse
+ skip 'No network access can be assumed at Debian package build time'
@http.reuse_ssl_sessions = false
@http.open_timeout = 123
@http.read_timeout = 321
|