nautobot / nautobot-app-golden-config

Golden Configuration App for Nautobot.
https://docs.nautobot.com/projects/golden-config/en/latest/
Other
98 stars 56 forks source link

`test_filters_generic` failing on `associated_contacts` related tests #785

Closed HanlinMiao closed 1 month ago

HanlinMiao commented 1 month ago

Environment

Expected Behavior

test_filters_generic passes without issue

Observed Behavior

https://github.com/nautobot/nautobot-app-golden-config/actions/runs/10225231818/job/28293997835 Cannot find enough valid test data for contacts and teams filter test

In 2.3.0, we automatically added contacts and teams filter tests to any models that has is_contact_associable_model=True to test_filters_generic and we made sure that we have enough valid contact assoications before running these tests. https://github.com/nautobot/nautobot/blob/develop/nautobot/core/testing/filters.py#L125-L148 Not sure why ConfigPlanFilterTestCase would still not be able to find enough valid test data.