yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49872
[Bug 1573605] [NEW] Fixed type:dict validator passes unexpected keys
Public bug reported:
Validation schema definition:
'params': {
...
'validate': {
'type:dict': {
'name': {'type:string': None}
}
}
}
Passed data:
{'params': {'bad_param': 'val'}}
Expected result:
Validation fails, because bad_param is not defined in schema.
Actual result:
Validation passes
** Affects: neutron
Importance: Undecided
Assignee: Pavel Gluschak (scsnow)
Status: In Progress
** Changed in: neutron
Assignee: (unassigned) => Pavel Gluschak (scsnow)
** Changed in: neutron
Status: New => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1573605
Title:
Fixed type:dict validator passes unexpected keys
Status in neutron:
In Progress
Bug description:
Validation schema definition:
'params': {
...
'validate': {
'type:dict': {
'name': {'type:string': None}
}
}
}
Passed data:
{'params': {'bad_param': 'val'}}
Expected result:
Validation fails, because bad_param is not defined in schema.
Actual result:
Validation passes
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1573605/+subscriptions
Follow ups