Skip to content

test: Add decompress tests#26

Merged
0x676e67 merged 2 commits intomainfrom
test
Feb 15, 2025
Merged

test: Add decompress tests#26
0x676e67 merged 2 commits intomainfrom
test

Conversation

@0x676e67
Copy link
Copy Markdown
Owner

@0x676e67 0x676e67 commented Feb 15, 2025

This pull request includes new tests for verifying compression methods in the tests/compression_test.py file. The most important changes are the addition of three asynchronous test functions to validate gzip, deflate, and brotli compression.

New tests for compression methods:

  • Added test_gzip function to verify gzip compression by checking the presence of the word "gzipped" in the response text.
  • Added test_deflate function to verify deflate compression by checking the presence of the word "deflated" in the response text.
  • Added test_brotli function to verify brotli compression by checking the presence of the word "brotli" in the response text.

@0x676e67 0x676e67 merged commit b5519cc into main Feb 15, 2025
@0x676e67 0x676e67 deleted the test branch February 15, 2025 11:08
kreedzZhao pushed a commit to kreedzZhao/rnet that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant