[Answered ]-DRF test Swagger Fake View in get_queryset

1👍

You can add another decorator to your test to apply this like so:

@patch.object(CatalogView, "swagger_fake_view", True, create=True)

Leave a comment