wip: Added import subprocess to test_main.py.

This commit is contained in:
Paul Gauthier 2023-05-11 17:39:15 -07:00
parent fa2f76c107
commit 09fbbc0dae

View file

@ -3,6 +3,8 @@ import sys
import tempfile
from unittest import TestCase
from aider.main import main
import subprocess
class TestMain(TestCase):
def test_main_with_empty_dir_no_files_on_command(self):
@ -24,8 +26,6 @@ class TestMain(TestCase):
sys.stdin = save_stdin
self.assertTrue(os.path.exists('foo.txt'))
import subprocess
def test_main_with_empty_git_dir_new_file(self):
with tempfile.TemporaryDirectory() as temp_dir:
os.chdir(temp_dir)