mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
semantic newlines in PRETTY_GOOD_PRACTICES.md (#19054)
This commit is contained in:
@@ -612,8 +612,10 @@ class SomeWallet:
|
||||
|
||||
## Tests
|
||||
|
||||
- Do not import `test_*` modules. Instead locate shared tooling in non-test files within the `tests/` directory or subdirectories.
|
||||
- Do not import fixtures. Fixtures are shared by locating them in `conftest.py` files at whatever directory layer you want them to be recursively available from.
|
||||
- Do not import `test_*` modules.
|
||||
Instead locate shared tooling in non-test files within the `tests/` directory or subdirectories.
|
||||
- Do not import fixtures.
|
||||
Fixtures are shared by locating them in `conftest.py` files at whatever directory layer you want them to be recursively available from.
|
||||
- Do not use test classes.
|
||||
`unittest` requires that tests be held in a class.
|
||||
pytest does not.
|
||||
|
||||
Reference in New Issue
Block a user