Debian Codegraph @

debian/patches/disable-network-tests.patch

raw
1 Description: disable tests, that need a network connection
2 Author: Martin <[email protected]>
3 Origin: vendor
4 Last-Update: 2026-05-14
5 ---
6 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
7 --- a/test/common/test_utils.py
8 +++ b/test/common/test_utils.py
9 @@ -91,6 +91,7 @@
10 with self.assertRaises(AttributeError):
11 _ = http_fetcher.response_data
12
13 + @unittest.skip("no network")
14 def test_fetch(self):
15 http_fetcher = HttpFetcher()
16 http_fetcher.fetch(TEST_URL_PREFIX + 'test.html')
17 --- a/test/updaters/test_common.py
18 +++ b/test/updaters/test_common.py
19 @@ -42,6 +42,7 @@
20
21
22 class TestFetcherCsvBase(unittest.TestCase):
23 + @unittest.skip("no network")
24 def test_current_data(self):
25 self.assertEqual(
26 FetcherCsvBaseTest.from_current_data(),