agent: Write a simple python hello world Iteration 2

This commit is contained in:
orchestrator-bot
2026-08-16 18:37:34 +00:00
parent c154f04084
commit b375bc09e2
3 changed files with 11 additions and 2 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
import subprocess
import unittest
from pathlib import Path
class TestHello(unittest.TestCase):
@@ -9,7 +10,7 @@ class TestHello(unittest.TestCase):
["python3", "hello.py"],
capture_output=True,
text=True,
cwd="/workspace"
cwd=Path(__file__).parent
)
self.assertEqual(result.returncode, 0)
self.assertIn("Hello, World!", result.stdout)
@@ -20,7 +21,7 @@ class TestHello(unittest.TestCase):
["python3", "hello.py"],
capture_output=True,
text=True,
cwd="/workspace"
cwd=Path(__file__).parent
)
self.assertEqual(result.stderr, "")