-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.py
More file actions
46 lines (35 loc) · 1.19 KB
/
test.py
File metadata and controls
46 lines (35 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
###
# Copyright (c) 2026, Barry Suridge
# All rights reserved.
###
import unittest
from supybot.test import PluginTestCase
from .tests.test_config_runtime import ConfigRuntimeTestCase
from .tests.test_cooldown import CooldownManagerTestCase
from .tests.test_core_chat import CoreChatTestCase
from .tests.test_core_limits import CoreLimitsTestCase
from .tests.test_core_text import CoreTextTestCase
from .tests.test_services_moderation import ServicesModerationTestCase
from .tests.test_services_openai_client import (
ServicesOpenAIClientTestCase,
)
from .tests.test_state_memory import StateMemoryTestCase
__all__ = [
"AsyncioTestCase",
"AsyncioSmokeTestCase",
"ConfigRuntimeTestCase",
"CooldownManagerTestCase",
"CoreChatTestCase",
"CoreLimitsTestCase",
"CoreTextTestCase",
"ServicesModerationTestCase",
"ServicesOpenAIClientTestCase",
"StateMemoryTestCase",
]
class AsyncioTestCase(PluginTestCase):
plugins = ("Asyncio",)
class AsyncioSmokeTestCase(unittest.TestCase):
def test_plugin_module_exports_class(self):
from . import plugin
self.assertTrue(hasattr(plugin, "Class"))
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: