Dinesh
|
a71ee405e4
|
test_example: Add a few more common testing methods.
Adds an example to illustrate the use of:
* self.settings()
* self.assertLogs()
* self.assert_in_success_response()
|
2021-06-20 07:16:35 -04:00 |
Tim Abbott
|
3eee7c067c
|
test_example: Add discussion of other common pitfalls.
The new test_example file is great; here I document more pitfalls that
I've seen very often with tests contributed by folks new to the
project.
|
2021-06-07 16:02:12 -07:00 |
Steve Howell
|
47da28429b
|
tests: Add test_example.py.
The idea here is to quickly learn basic testing
idioms with code that's executed (unlike docs
which are prone to bitrot).
|
2021-06-07 15:29:49 -07:00 |