tests (unit): Fix tests.
This commit is contained in:
parent
3a2a5f787d
commit
e68278a1ac
1 changed files with 88 additions and 102 deletions
|
|
@ -119,9 +119,7 @@ class QuotasSettings(ConfigOptions):
|
|||
return utils.parse_size(value)
|
||||
return value
|
||||
|
||||
@field_validator(
|
||||
"jids", mode="before", json_schema_input_type=dict[str, int | str]
|
||||
)
|
||||
@field_validator("jids", mode="before", json_schema_input_type=dict[str, int | str])
|
||||
@classmethod
|
||||
def parse_jid_quotas(cls, value: Any) -> Any:
|
||||
"""Parse string sizes to int for ``jids``."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue