mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-14 17:39:00 +00:00

* Move from tomllib to tomli * added example code for magentic-one + code comments * adding benchmarks temporarily * add license for datasets * revert changes to magentic-one * change license location --------- Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
16 lines
324 B
Python
16 lines
324 B
Python
# Disable ruff linter for template files
|
|
# ruff: noqa: F821 E722
|
|
import sys
|
|
|
|
|
|
__TEST__
|
|
|
|
|
|
def run_tests(candidate):
|
|
try:
|
|
check(candidate)
|
|
# We can search for this string in the output
|
|
print("ALL TESTS PASSED !#!#")
|
|
except AssertionError:
|
|
sys.exit("SOME TESTS FAILED - TRY AGAIN !#!#")
|