pyramid_apispec icon indicating copy to clipboard operation
pyramid_apispec copied to clipboard

fix: "ignored_view_names" arg on "add_pyramid_paths" function has no effect

Open GaNiziolek opened this issue 1 year ago • 0 comments

Passing the arg "ignored_view_names" on function "add_pyramid_paths" has not effect.

On line 117, the value of "ignored_view_names" was passed to the kwarg "ignored_views", but the function "should_ignore_view" on line 139 was looking for the kwarg "ignored_view_names", so values passed to be ignored were never read .

I also wrote tests for this.

And add python 3.10 on tox

GaNiziolek avatar Jun 03 '23 02:06 GaNiziolek