response = self.client.get('/public/v1/users/', res_Id)
TypeError: get() takes 2 positional arguments but 3 were given
What is res_Id?
Just remove , res_Id
I came into same issue and found.
You forgot to add 'self' object reference in your get() fun.
check your get()
Replace
def get(route , res_Id)
to
def get(self, route , res_Id)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.