Django Unit Test with Fixtures

Sometimes we need to write test with initial data

For this setting as example, we can load initial data by

And we need to do setup in test cases

Tags:

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。