Skip to content

Commit 498382a

Browse files
committed
Apply mocks manually in doc tests
1 parent b73041b commit 498382a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_docs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@
1111
"""
1212
import os
1313
import re
14+
import unittest
1415

15-
from demosys.test import DemosysTestCase
16+
from demosys.test.mocks import apply_mocks
1617
from demosys.utils import module_loading
1718

19+
apply_mocks()
1820
os.environ['DEMOSYS_SETTINGS_MODULE'] = 'tests.settings' # noqa
1921

2022

21-
class TestCase(DemosysTestCase):
23+
class TestCase(unittest.TestCase):
2224
"""
2325
Test reference docs
2426
"""

0 commit comments

Comments
 (0)