📝 Flaky `test_empty_validate_responses` (#1588)
________________________ test_empty_validate_responses _________________________
settings = <pytest_django.fixtures.Settings object at 0x7f00e6dbba90>
def test_empty_validate_responses(settings: LazySettings) -> None:
"""Ensure that `EMPTY` on `validate_responses` raises."""
settings.DMR_SETTINGS = {
Settings.validate_responses: EMPTY,
}
> with pytest.raises(EndpointMetadataError, match='validate_responses'):
E AssertionError: Regex pattern did not match.
E Expected regex: 'validate_responses'
E Actual message: 'Settings validation failed'
Link: https://github.com/wemake-services/django-modern-rest/actions/runs/36040317321/job/107770717079
The fix is very welcome!
#bug #good_first_issue #help_wanted #opensource_september #django_modern_rest
sent via relator