From d0621199c85a6dd3549af38c8446b6c1e8e2ea5f Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Tue, 23 Jun 2015 14:09:47 -0700 Subject: [PATCH] Mock the subprocess call for .Net --- tests/test_domains.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_domains.py b/tests/test_domains.py index 6dc00d2..ac1b375 100644 --- a/tests/test_domains.py +++ b/tests/test_domains.py @@ -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('', '', '')