mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
11 lines
238 B
Python
11 lines
238 B
Python
import pytest # noqa: F401
|
|
|
|
from aider.run_cmd import run_cmd
|
|
|
|
|
|
def test_run_cmd_echo():
|
|
command = "echo Hello, World!"
|
|
exit_code, output = run_cmd(command)
|
|
|
|
assert exit_code == 0
|
|
assert output.strip() == "Hello, World!"
|