Debian Codegraph @

debian/patches/0001-Skip-test-s-that-require-the-network.patch

raw symbols SCIP
1 From: Elena Grandi <[email protected]>
2 Date: Sat, 5 Nov 2016 12:47:21 +0100
3 Subject: Skip test(s) that require the network.
4
5 Forwarded: not-needed
6 ---
7 tests.py | 2 ++
8 1 file changed, 2 insertions(+)
9
10 diff --git a/tests.py b/tests.py
11 index e4dce1c..6617352 100755
12 --- a/tests.py
13 +++ b/tests.py
14 @@ -233,11 +233,13 @@ class TestPypandoc(unittest.TestCase):
15 received = pypandoc.convert_file(file_url, 'rst')
16 self.assertEqualExceptForNewlineEnd(expected, received)
17
18 + @unittest.skip('requires network')
19 def test_basic_conversion_from_http_url(self):
20 url = 'https://raw.githubusercontent.com/bebraw/pypandoc/master/README.md'
21 received = pypandoc.convert_file(url, 'html')
22 assert "GPL2 license" in received
23
24 + @unittest.skip('requires network')
25 def test_conversion_with_data_files(self):
26 # remove our test.docx file from our test_data dir if it already exosts
27 test_data_dir = os.path.join(os.path.dirname(__file__), 'test_data')