~netlandish/django-wiki

3678e993e2e0a891528e2c69fb8497ea20950e2d — Benjamin Bach 6 years ago 0aea07e + 1a6b196
Merge pull request #815 from atombrella/mock_library

Replaced third-party mock with unittest.mock
2 files changed, 1 insertions(+), 2 deletions(-)

M setup.py
M tests/core/test_markdown.py
M setup.py => setup.py +0 -1
@@ 36,7 36,6 @@ install_requirements = [

test_requirements = [
    'django-functest>=1.0.2,<1.1',
    'mock>=2.0,<2.1',
    'pytest>=3.4,<3.5',
    'pytest-django>=3.1,<3.2',
    'pytest-cov>=2.4,<2.5',

M tests/core/test_markdown.py => tests/core/test_markdown.py +1 -1
@@ 1,6 1,6 @@
import markdown
from django.test import TestCase
from mock import patch
from unittest.mock import patch
from wiki.core.markdown import ArticleMarkdown
from wiki.core.markdown.mdx.codehilite import WikiCodeHiliteExtension
from wiki.core.markdown.mdx.responsivetable import ResponsiveTableExtension