Skip to content

Commit f932498

Browse files
style: pre-commit fixes
1 parent 0423bc6 commit f932498

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/pages/principles/testing.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ parent: Principles
1111
# Testing recommendations
1212

1313
## Outside-In Tests
14-
* live outside of source code, in the tests/ directory
15-
* Describe the various types of outsid-in tests (integration, fuzz, e2e, API)
16-
* Reference topical guides
17-
* Provide suggestions for testing categories
1814

15+
- live outside of source code, in the tests/ directory
16+
- Describe the various types of outsid-in tests (integration, fuzz, e2e, API)
17+
- Reference topical guides
18+
- Provide suggestions for testing categories
1919

2020
## Unit Tests
2121

@@ -228,8 +228,8 @@ troubleshoot problems.
228228
### Guidelines for Diagnostic Tests
229229

230230
- Consider using the stdlib `unittest.TestCase` and other stdlib tools instead
231-
of pytest. To allow running unit tests for diagnostics in production environments,
232-
without installing additional packages.
231+
of pytest. To allow running unit tests for diagnostics in production
232+
environments, without installing additional packages.
233233

234234
- Test files should be named `test_{{file under test}}.py`, so that stdlib
235235
unittest can find them easily.
@@ -263,4 +263,3 @@ stdlib's unittest can be used in environments where pytest is not available:
263263
- To use unittest to run tests in your source folder, from your package root,
264264
use
265265
`python -m unittest discover --start-folder {{source folder}} --top-level-directory .`
266-

0 commit comments

Comments
 (0)