Answer the question
In order to leave comments, you need to log in
What is the best way to unit test an AJAX view?
Good afternoon, in my Django project there is a View that ONLY accepts ajax-post requests, the question is, does it make sense to write tests that will check that the View is not available for other methods (GET, simple POST without ajax)?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question