Open nicoavn opened 2 years ago
GridBase test class provide two shortcut methods for testing filtering and sorting. They are a bit different in the way that one allows for callable parameters and the other doesn't.
Making them consistent would make it easier to use them.
https://github.com/level12/webgrid/blob/master/webgrid/testing.py#L444-L451 https://github.com/level12/webgrid/blob/master/webgrid/testing.py#L475-L479
GridBase test class provide two shortcut methods for testing filtering and sorting. They are a bit different in the way that one allows for callable parameters and the other doesn't.
Making them consistent would make it easier to use them.
https://github.com/level12/webgrid/blob/master/webgrid/testing.py#L444-L451 https://github.com/level12/webgrid/blob/master/webgrid/testing.py#L475-L479