forked from aio-libs/aiohttp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.9] Create hello.txt.gz dynamically and improve related assertions (a…
…io-libs#8136) (cherry picked from commit 026e8d9) Co-authored-by: Steve Repsher <[email protected]> Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> Co-authored-by: J. Nick Koston <[email protected]>
- Loading branch information
1 parent
d00a32b
commit ffe8da0
Showing
4 changed files
with
63 additions
and
35 deletions.
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
tests/data.unknown_mime_type binary | ||
tests/hello.txt.gz binary | ||
tests/sample.* binary |
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,7 @@ | ||
A pytest fixture ``hello_txt`` was introduced to aid | ||
static file serving tests in | ||
:file:`test_web_sendfile_functional.py`. It dynamically | ||
provisions ``hello.txt`` file variants shared across the | ||
tests in the module. | ||
|
||
-- by :user:`steverep` |
Binary file not shown.
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