Commit c0f6198
authored
Use
Running the tests in debug mode means WhiteNoise uses its development
mode file finder, which means collectstatic doesn't need to have been run
first.
In CI either approach is equally valid, however, locally it's very easy to forget
to run collectstatic, so we use the `--debug-mode` approach in `app.json`
so users know about this trick when reading the codebase.--debug-mode for tests instead of running collectstatic (#197)1 parent 27c9f9e commit c0f6198
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
0 commit comments