Django REST API: Deduplicating authorization checks in test code

前端 未结 0 1213
说谎
说谎 2020-12-24 06:49

In a chat app I\'m making, I have this (similar) copied and pasted at the top of each API test I\'ve written to check against unauthorized access.

    def tes         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题