~netlandish/django-wiki

1a6b196b75d91114b7266e18f5f0154a988c47f5 — Mads Jensen 6 years ago 37af351
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