mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
cleanup
This commit is contained in:
parent
200ff36848
commit
4c745c3cdd
1 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
@ -85,9 +86,10 @@ def main(tempdir):
|
|||
|
||||
coder.run(with_message=instructions)
|
||||
|
||||
run_tests()
|
||||
passed = run_tests()
|
||||
|
||||
dump(passed)
|
||||
|
||||
import subprocess
|
||||
|
||||
def run_tests():
|
||||
test_files = [file for file in os.listdir() if "test" in file and file.endswith(".py")]
|
||||
|
@ -101,6 +103,7 @@ def run_tests():
|
|||
|
||||
return all_tests_passed
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# with TemporaryDirectory() as tempdir:
|
||||
tempdir = "tmp.benchmark"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue