mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-05 08:58:34 +00:00
8 lines
217 B
Python
8 lines
217 B
Python
from nanobot.config.schema import Config
|
|
|
|
|
|
def test_extensions_can_be_disabled_globally() -> None:
|
|
config = Config.model_validate({"extensions": {"enabled": False}})
|
|
|
|
assert config.extensions.enabled is False
|