File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ def pytest_configure(config): # noqa: ARG001
1818 # Import our testing module
1919 try :
2020 import agentex .lib .testing .sessions .sync
21- import agentex .lib .testing .sessions .agentic
21+ import agentex .lib .testing .sessions .asynchronous
2222
2323 # Mark our context manager functions as non-tests
2424 agentex .lib .testing .sessions .sync .sync_test_agent .__test__ = False
25- agentex .lib .testing .sessions .agentic .async_test_agent .__test__ = False
25+ agentex .lib .testing .sessions .asynchronous .async_test_agent .__test__ = False
2626 except (ImportError , AttributeError ):
2727 # If module not available, that's fine
2828 pass
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ wait_for_agent_ready() {
108108 return 0
109109 fi
110110 sleep 1
111- (( elapsed++ ))
111+ elapsed= $ (( elapsed+ 1 ))
112112 done
113113
114114 echo -e " ${RED} ❌ Timeout waiting for ${name} agent to be ready${NC} "
@@ -341,7 +341,7 @@ execute_tutorial_test() {
341341 # Start the agent
342342 if ! start_agent " $tutorial " ; then
343343 echo -e " ${RED} ❌ FAILED to start agent: $tutorial ${NC} "
344- (( FAILED++ ))
344+ FAILED= $ (( FAILED+ 1 ))
345345 FAILED_TESTS+=(" $tutorial " )
346346 return 1
347347 fi
@@ -350,11 +350,11 @@ execute_tutorial_test() {
350350 local test_passed=false
351351 if run_test " $tutorial " ; then
352352 echo -e " ${GREEN} ✅ PASSED: $tutorial ${NC} "
353- # ((PASSED++ ))
353+ PASSED= $ (( PASSED+ 1 ))
354354 test_passed=true
355355 else
356356 echo -e " ${RED} ❌ FAILED: $tutorial ${NC} "
357- (( FAILED++ ))
357+ FAILED= $ (( FAILED+ 1 ))
358358 FAILED_TESTS+=(" $tutorial " )
359359 fi
360360
You can’t perform that action at this time.
0 commit comments