MCPcopy
hub / github.com/Aider-AI/aider / test_run_cmd_win

Method test_run_cmd_win

tests/basic/test_linter.py:40–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 self.assertIsNone(result)
39
40 def test_run_cmd_win(self):
41 if os.name != "nt":
42 self.skipTest("This test only runs on Windows")
43 from pathlib import Path
44
45 root = Path(__file__).parent.parent.parent.absolute().as_posix()
46 linter = Linter(encoding="utf-8", root=root)
47 result = linter.run_cmd("dir", "tests\\basic", "code")
48 self.assertIsNone(result)
49
50 @patch("subprocess.Popen")
51 def test_run_cmd_with_errors(self, mock_popen):

Callers

nothing calls this directly

Calls 2

run_cmdMethod · 0.95
LinterClass · 0.90

Tested by

no test coverage detected