🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
update:tools/moderation unittest,only async
zhanglei1d3f4a77f92d
diff --git a/tests/metagpt/tools/test_moderation.py b/tests/metagpt/tools/test_moderation.pyindex 5ec3bd4de..8027f978b 100644--- a/tests/metagpt/tools/test_moderation.py+++ b/tests/metagpt/tools/test_moderation.py@@ -11,21 +11,6 @@ import pytestfrom metagpt.tools.moderation import Moderation- ("content",),- [- [- ["I will kill you", "The weather is really nice today", "I want to hit you"],- ]- ],-)-def test_moderation(content):- moderation = Moderation()- results = moderation.moderation(content=content)- assert isinstance(results, list)- assert len(results) == len(content)--@pytest.mark.asyncio@pytest.mark.parametrize(("content",),