File: 0003-Disable-tests-that-need-internet-connection.patch

package info (click to toggle)
bugwarrior 1.8.0-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,280 kB
  • sloc: python: 9,226; makefile: 147
file content (18 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Sat, 12 Jan 2019 21:23:33 +0100
Subject: Disable tests that need internet connection

---
 tests/test_gerrit.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test_gerrit.py b/tests/test_gerrit.py
index 0c0c872..770ec64 100644
--- a/tests/test_gerrit.py
+++ b/tests/test_gerrit.py
@@ -1,3 +1,5 @@
+import unittest
+raise unittest.SkipTest('requires internet access, not possible on the Debuild buildd')
 from builtins import next
 import json