When you create website use Django, you should want to run unit test in it to verify website functions or models. This article will show you how to write and […]
When i write and run Django app models unit test, i meet an error like this django.contrib.auth.models.User.DoesNotExist: User matching query does not exist.
Python unittest library is used to run unit test for Python class and functions. It is a built-in library provided by Python, so you do not need to install any […]
This example will show you how to read / write JSON text from / to json file. It will also show you how to create TestCase class to run unit […]