Commit 7a57536
committed
Use pytest fixture in system test
Do background setup for the test in a fixture rather than overriding the
setUp() function. Removes the need to remember to call super.setUp()1 parent 22bafa0 commit 7a57536
1 file changed
Lines changed: 4 additions & 3 deletions
File tree
- manage_breast_screening/record_a_mammogram/tests/system
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments