You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/m2r/files/m2r-0.2.1-tests-network.patch

29 lines
1019 B

diff --git a/tests/test_cli.py b/tests/test_cli.py
index e53e209..4dff652 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -5,6 +5,7 @@ from __future__ import print_function, unicode_literals
import sys
import os
+import unittest
from os import path
from copy import copy
from unittest import TestCase
@@ -127,6 +128,7 @@ class TestConvert(TestCase):
self.assertIn('__content__', m.call_args[0][0])
self.assertNotIn('**content**', m.call_args[0][0])
+ @unittest.skip("needs internet access")
def test_anonymous_reference_option(self):
sys.argv = [
sys.argv[0], '--anonymous-references', '--dry-run', test_md]
@@ -135,6 +137,7 @@ class TestConvert(TestCase):
self.assertIn("`A link to GitHub <http://github.com/>`__",
m.call_args[0][0])
+ @unittest.skip("test seems to be broken")
def test_disable_inline_math(self):
sys.argv = [
sys.argv[0], '--disable-inline-math', '--dry-run', test_md]