Skip to content

Commit 5101e39

Browse files
author
SentienceDEV
committed
use self.assert_
1 parent a1dcd42 commit 5101e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentience/agent_runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def assert_done(
582582
True if task is complete (assertion passed), False otherwise
583583
"""
584584
# Convenience wrapper for assert_ with required=True
585-
ok = self.assertTrue(predicate, label=label, required=True)
585+
ok = self.assert_(predicate, label=label, required=True)
586586
if ok:
587587
self._task_done = True
588588
self._task_done_label = label

0 commit comments

Comments
 (0)