-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace DateRangeFilter.options w/ choices/filters - Replaces the 'options' data structure with standard form field choices and a 'filters' dict, which contains the date filters separately. - Choices now use descriptive string values instead of integers. * Ensure DateRangeFilter choices and filters match * Add assertion for removed DateRangeFilter.options * Remove duplicate code in DateRangeFilterTests * Mock dates in DateRangeFilterTests * Add 'yesterday' test for DateRangeFilter * Fix 'yesterday' filtering for DateRangeFilter
- Loading branch information
1 parent
ce04719
commit a0a74da
Showing
3 changed files
with
111 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters