mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-03 06:14:32 +01:00
14 lines
319 B
Python
14 lines
319 B
Python
from typing import Any, Dict
|
|
|
|
from agbenchmark.challenge import Challenge
|
|
|
|
|
|
class TestWriteFile(Challenge):
|
|
"""Testing if LLM can write to a file"""
|
|
|
|
def test_method(self, config: Dict[str, Any]) -> None:
|
|
self.setup_challenge(config)
|
|
|
|
scores = self.get_scores(config)
|
|
assert 1 in scores
|