chore(mcp): restore out-of-scope files to master state

Earlier style commits reformatted 24 unrelated files with a newer local
ruff than the pinned 0.9.7, removed the PT004 ignore from
pyproject.toml, and the initial branch commit accidentally deleted
tests/unit_tests/utils/test_split.py. None of these belong to the chart
plugin registry change; restore them to master to keep the PR scoped.
This commit is contained in:
Amin Ghadersohi
2026-06-11 00:18:25 +00:00
parent 742f09aa69
commit 4c03bb1041
22 changed files with 97 additions and 125 deletions

View File

@@ -260,9 +260,8 @@ class TestSecurityGuestTokenApiTokenValidator(SupersetTestCase):
@with_config(
{
"GUEST_TOKEN_VALIDATOR_HOOK": lambda x: (
len(x["rls"]) == 1 and "tenant_id=" in x["rls"][0]["clause"]
)
"GUEST_TOKEN_VALIDATOR_HOOK": lambda x: len(x["rls"]) == 1
and "tenant_id=" in x["rls"][0]["clause"]
}
)
def test_guest_validator_hook_real_world_example_positive(self):
@@ -277,9 +276,8 @@ class TestSecurityGuestTokenApiTokenValidator(SupersetTestCase):
@with_config(
{
"GUEST_TOKEN_VALIDATOR_HOOK": lambda x: (
len(x["rls"]) == 1 and "tenant_id=" in x["rls"][0]["clause"]
)
"GUEST_TOKEN_VALIDATOR_HOOK": lambda x: len(x["rls"]) == 1
and "tenant_id=" in x["rls"][0]["clause"]
}
)
def test_guest_validator_hook_real_world_example_negative(self):