-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
""" | ||
Adding the __init__.py to the tests/ directory (and its subdirectories) makes them all part of the | ||
same package structure. | ||
- Allows test modules/files to import from each other (including from modules in different | ||
directories, such as files in tests/cli/ importing from tests/testdb.py). | ||
- Does not require test modules to have unique names. | ||
This necessitates using the "prepend" (or possibly "append"?) import mode (which is the default). | ||
This setup comes with its own set of caveats. See | ||
https://docs.pytest.org/en/7.1.x/explanation/pythonpath.html for a discussion of how test modules | ||
are imported. | ||
""" |
Empty file.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.