Top "Django-testing" questions

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Django manage.py : Is it possible to pass command line argument (for unit testing)

Is it possible to pass command line arguments to Django's manage.py script, specifically for unit tests? i.e. if …

django django-testing django-manage.py
Django test Client submitting a form with a POST request

How can I submit a POST request with Django test Client, such that I include form data in it? In …

python django django-testing
Django test to use existing database

I'm having a hard time customizing the test database setup behavior. I would like to achieve the following: The test …

django django-testing
Python mock, django and requests

So, I've just started using mock with a Django project. I'm trying to mock out part of a view which …

python django unit-testing mocking django-testing
Django test client does not log in

I am attempting to log in the test client using its built in login function. I am trying to unit …

python django unit-testing django-testing
How to launch tests for django reusable app?

Can I launch tests for my reusable Django app without incorporating this app into a project? My app uses some …

django testing django-testing