From: Elena Grandi Date: Sat, 5 Nov 2016 12:47:21 +0100 Subject: Skip test(s) that require the network. Forwarded: not-needed --- tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests.py b/tests.py index e4dce1c..6617352 100755 --- a/tests.py +++ b/tests.py @@ -233,11 +233,13 @@ class TestPypandoc(unittest.TestCase): received = pypandoc.convert_file(file_url, 'rst') self.assertEqualExceptForNewlineEnd(expected, received) + @unittest.skip('requires network') def test_basic_conversion_from_http_url(self): url = 'https://raw.githubusercontent.com/bebraw/pypandoc/master/README.md' received = pypandoc.convert_file(url, 'html') assert "GPL2 license" in received + @unittest.skip('requires network') def test_conversion_with_data_files(self): # remove our test.docx file from our test_data dir if it already exosts test_data_dir = os.path.join(os.path.dirname(__file__), 'test_data')