From 09fbbc0dae6bbb3ffc5111e2622f28ea0f7796fa Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 11 May 2023 17:39:15 -0700 Subject: [PATCH] wip: Added import subprocess to test_main.py. --- tests/test_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index ef152605b..a80221ee7 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -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)