MCPcopy
hub / github.com/donnemartin/saws / test_process_command_cd

Method test_process_command_cd

tests/test_saws.py:124–126  ·  view source on GitHub ↗
(self, mock_subprocess)

Source from the content-addressed store, hash-verified

122
123 @mock.patch('saws.saws.subprocess')
124 def test_process_command_cd(self, mock_subprocess):
125 self.saws._process_command('cd .')
126 mock_subprocess.call.assert_not_called()
127
128 @mock.patch('saws.saws.subprocess')
129 def test_process_command(self, mock_subprocess):

Callers

nothing calls this directly

Calls 1

_process_commandMethod · 0.80

Tested by

no test coverage detected