nautobot icon indicating copy to clipboard operation
nautobot copied to clipboard

Migrate filter tests to generic tests

Open gsnider2195 opened this issue 1 year ago • 2 comments

Proposed Changes

New generic tests were added to the base filter test case (test_filters_generic and test_boolean_filters_generic). Most has_* filter tests should already be covered by test_boolean_filters_generic and can be safely removed. Most other basic filter tests can be replaced by test_filters_generic but will need to be individually checked for compatibility with the generic test and added to the generic_filter_tests list on the test case.

Justification

Code clean up and reusing test code

gsnider2195 avatar Feb 02 '23 14:02 gsnider2195

Test case changes on https://github.com/nautobot/nautobot/pull/3342 can now be moved into generic_filter_tests since they are all now all multi-value filters

timizuoebideri1 avatar Mar 02 '23 11:03 timizuoebideri1

#5378 addresses the boolean filter tests only. More to be done.

glennmatthews avatar Mar 04 '24 16:03 glennmatthews