How to unit test methods inside django's class based views?

前端 未结 3 1246
深忆病人
深忆病人 2021-02-07 12:38

I need to test the methods and helper function inside a django Class Based View.

Consider this Class Based View:

class MyClassBasedView(View):

    def d         


        
3条回答
提交回复
热议问题