I wanted to check if a browser accepts cookies, so I used set_test_cookie and test_cookie_worked methods to check the same. Then I deleted the test cookies using delete_test_cookie method if the browser passed the test. But to my surprise the session cookie still resides in the browser.
So what exactly the delete_test_cookie does? Does it delete session cookie? Or is it that session cookie and test cookie are different?