[PR #467] [MERGED] Python: Add unit tests for brotli.compress and brotli.decompress #1097

Open
opened 2026-01-29 20:52:29 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/467
Author: @nicksay
Created: 11/7/2016
Status: Merged
Merged: 11/9/2016
Merged by: @eustas

Base: masterHead: py-unittest


📝 Commits (1)

  • 2fed82f Python: Add unit tests for brotli.compress and brotli.decompress

📊 Changes

8 files changed (+282 additions, -119 deletions)

View changed files

python/tests/_test_utils.py (+100 -0)
📝 python/tests/compatibility_test.py (+1 -1)
python/tests/compress_test.py (+114 -0)
📝 python/tests/compressor_test.py (+27 -77)
📝 python/tests/custom_dictionary_test.py (+1 -1)
python/tests/decompress_test.py (+38 -0)
📝 python/tests/roundtrip_test.py (+1 -1)
python/tests/test_utils.py (+0 -39)

📄 Description

Also:

  • rename test_utils to _test_utils
  • refactor shared code into _test_utils

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/467 **Author:** [@nicksay](https://github.com/nicksay) **Created:** 11/7/2016 **Status:** ✅ Merged **Merged:** 11/9/2016 **Merged by:** [@eustas](https://github.com/eustas) **Base:** `master` ← **Head:** `py-unittest` --- ### 📝 Commits (1) - [`2fed82f`](https://github.com/google/brotli/commit/2fed82f84611370d36ee581c23bca865b09e5665) Python: Add unit tests for brotli.compress and brotli.decompress ### 📊 Changes **8 files changed** (+282 additions, -119 deletions) <details> <summary>View changed files</summary> ➕ `python/tests/_test_utils.py` (+100 -0) 📝 `python/tests/compatibility_test.py` (+1 -1) ➕ `python/tests/compress_test.py` (+114 -0) 📝 `python/tests/compressor_test.py` (+27 -77) 📝 `python/tests/custom_dictionary_test.py` (+1 -1) ➕ `python/tests/decompress_test.py` (+38 -0) 📝 `python/tests/roundtrip_test.py` (+1 -1) ➖ `python/tests/test_utils.py` (+0 -39) </details> ### 📄 Description Also: - rename `test_utils` to `_test_utils` - refactor shared code into `_test_utils` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:52:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1097