15 lines
514 B
Text
15 lines
514 B
Text
|
Tests aren't allowed to make remote connection
|
||
|
|
||
|
Index: tests.py
|
||
|
--- tests.py.orig
|
||
|
+++ tests.py
|
||
|
@@ -228,7 +228,7 @@ class TestPypandoc(unittest.TestCase):
|
||
|
self.assertEqualExceptForNewlineEnd(expected, received)
|
||
|
|
||
|
def test_basic_conversion_from_http_url(self):
|
||
|
- url = 'https://raw.githubusercontent.com/bebraw/pypandoc/master/README.md'
|
||
|
+ url = 'file://'+ os.getcwd() + '/README.md'
|
||
|
received = pypandoc.convert_file(url, 'html')
|
||
|
assert "GPL2 license" in received
|
||
|
|