evennia.contrib.rpg.llm.tests

Unit tests for the LLM Client and npc.

class evennia.contrib.rpg.llm.tests.TestLLMClient(methodName='runTest')[source]

Bases: evennia.utils.test_resources.BaseEvenniaTestCase

Test the LLMNPC class.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_npc_at_talked_to(mock_deferLater)[source]

Test the npc’s at_talked_to method.