mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-18 03:29:11 +02:00
9 lines
319 B
Python
9 lines
319 B
Python
import fastmcp
|
|
from fastmcp.utilities.tests import temporary_settings
|
|
|
|
|
|
class TestTemporarySettings:
|
|
def test_temporary_settings(self):
|
|
with temporary_settings(log_level="DEBUG"):
|
|
assert fastmcp.settings.settings.log_level == "DEBUG"
|
|
assert fastmcp.settings.settings.log_level == "INFO"
|