Django - Testing Django Applications
What is wrong with this test code snippet?
from django.test import Client
client = Client()
response = client.post('/submit/', data='name=John')
print(response.status_code)