django-test-plus icon indicating copy to clipboard operation
django-test-plus copied to clipboard

`assertGoodView` seems to expect an `url_name` as param but it never reverses it

Open nessita opened this issue 1 year ago • 1 comments

The current signature of assertGoodView looks like this:

    def assertGoodView(self, url_name, *args, **kwargs):

but the implementation never reverses the url_name param so a valid url name results in a 404 instead of a 400.

nessita avatar May 18 '23 18:05 nessita