File: Disable-image-test-requiring-network-access.patch

package info (click to toggle)
ruby-ffaker 2.23.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,776 kB
  • sloc: ruby: 12,788; makefile: 8; sh: 1
file content (21 lines) | stat: -rw-r--r-- 622 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Daniel Leidert <dleidert@debian.org>
Date: Sat, 29 Feb 2020 14:33:11 +0100
Subject: Disable image test requiring network access

This test fails in environments without internet access:
Error: test_image_file(TestImage): SocketError: Failed to open TCP connection to via.placeholder.com:443 (getaddrinfo: Temporary failure in name resolution)
---
 test/test_image.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/test/test_image.rb
+++ b/test/test_image.rb
@@ -68,7 +68,7 @@
     end
   end
 
-  def test_image_file
+  def __test_image_file
     assert_equal(@tester.file.class.name, 'File')
   end