You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase.test_bulk_delete_form_contains_all_filtered fails with the following message when fewer than 3 objects are returned from the test's _get_queryset():
======================================================================
ERROR: test_bulk_delete_form_contains_all_filtered (nautobot_device_onboarding.tests.test_views.OnboardingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/django/test/utils.py", line 387, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/nautobot/core/testing/views.py", line 1224, in test_bulk_delete_form_contains_all_filtered
third_pk = next(pk_iter)
StopIteration
We need to update this test so that the error message is more clear about what is broken and how to fix it.
Justification
Developer experience
The text was updated successfully, but these errors were encountered:
Proposed Changes
nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase.test_bulk_delete_form_contains_all_filtered
fails with the following message when fewer than 3 objects are returned from the test's_get_queryset()
:We need to update this test so that the error message is more clear about what is broken and how to fix it.
Justification
Developer experience
The text was updated successfully, but these errors were encountered: