mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-19 15:25:31 +00:00
Mock the subprocess call for .Net
This commit is contained in:
parent
4c8fc0dc94
commit
d0621199c8
@ -82,6 +82,7 @@ class DomainTests(unittest.TestCase):
|
||||
with nested(
|
||||
patch('autoapi.mappers.dotnet.DotNetSphinxMapper.find_files', _mock_find),
|
||||
patch('autoapi.mappers.dotnet.DotNetSphinxMapper.read_file', _mock_read),
|
||||
patch('subprocess.check_output', lambda foo: foo),
|
||||
):
|
||||
dom = dotnet.DotNetSphinxMapper(self.application)
|
||||
dom.load('', '', '')
|
||||
|
Loading…
Reference in New Issue
Block a user