Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
add additional test cases for close_date
Browse files Browse the repository at this point in the history
  • Loading branch information
Rwolfe-Nava committed Aug 1, 2024
1 parent 9ceca5f commit dcd3b74
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,13 @@ def test_search_filters_200(
(get_search_request(close_date={"start_date": None, "end_date": "2020-02-01"}), 200),
(get_search_request(close_date={"start_date": "2020-01-01", "end_date": "2020-02-01"}), 200),
(get_search_request(close_date={"start_date": "I am not a date"}), 422),
(get_search_request(close_date={"end_date": "I am not a date"}), 422)
(get_search_request(close_date={"start_date": "123-456-789"}), 422),
(get_search_request(close_date={"start_date": "5"}), 422),
(get_search_request(close_date={"start_date": 5}), 422),
(get_search_request(close_date={"end_date": "I am not a date"}), 422),
(get_search_request(close_date={"end_date": "123-456-789"}), 422),
(get_search_request(close_date={"end_date": "5"}), 422),
(get_search_request(close_date={"end_date": 5}), 422),
]
)
def test_search_validate_date_filters(
Expand Down

0 comments on commit dcd3b74

Please sign in to comment.