aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test_search.py
AgeCommit message (Collapse)Author
2023-01-24tests: Expect exact integer value when applying SI suffix.Arun Isaac
* tests/unit/test_search.py (test_apply_si_suffix_kilo, test_apply_si_suffix_mega, test_apply_si_suffix_giga): Update docstring indicating that we expect the exact integer value.
2023-01-24search: Abstract out parsing of position spec into separate function.Arun Isaac
* gn3/api/search.py (parse_position): New function. (parse_location_field): Use parse_position. * tests/unit/test_search.py: Import parse_position from gn3.api.search. (test_parse_position_close_to_zero_location): New test.
2023-01-21tests: Fix linting errorsFrederick Muriuki Muriithi
2023-01-19tests: Add unit tests for search.Arun Isaac
* tests/unit/test_search.py: New file.