Describe the issue briefly
I cannot find out the error in views.py, after assessment just one test case is failing out of 4. Any hints please
How much time have you spent debugging this issue?
(Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)
more than 2 hrs
What is your hypothesis?
have you read the unittesting.log file, the error will be described in it
Hey @Subash, I checked your code. Looks like you aren’t sending the data in json format and make sure to extract the tags from the response and return it to the calling function as a list.
I am not sure about how to convert tags from the json response into a python list
google it and you will find it.
hint : json array is just like dictionary in python.
i don’t know how to access the “data” from “outputs” in JSON
Sir, I cannot resolve it. I am trying for 2 hrs. Any hints please
Please refer this link on parsing data from json
Hey @Subash, is your issue resolved?
No sir, not yet. I took a break. Will try again after sometime. It has been 6 hrs that I am stuck with this. Sorry sir.
Sir, I am getting json respone from Postman, but I can’t write the code, sir please help me. I am stuck here from yesterday. Just one Test case is failing.
Have a close look at json response , think with a cool mind . Json is like a dictionary. try to write code now