Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Drop 0x00 bytes from the REST gw test #957

Merged
merged 1 commit into from
Feb 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pytest_tests/tests/services/rest_gate/test_rest_gate_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ def test_put_rest_get_rest(self, complex_object_size, simple_object_size, gw_par
value
"""
},
{"\x00" * 8: "simple_obj_filename"},
{"Some key": "\x00" * 8},
{"\x01" * 8: "simple_obj_filename"},
{"Some key": "\x01" * 8},
],
ids=[
"simple",
Expand All @@ -353,8 +353,8 @@ def test_put_rest_get_rest(self, complex_object_size, simple_object_size, gw_par
"linebreak in key",
"linebreaks in key and value",
"other linebreaks in key and value",
"zero bytes key",
"zero bytes value",
"not-so-zero bytes key",
"not-so-zero bytes value",
],
)
def test_put_rest_get_rest_with_headers(self, attributes: dict, simple_object_size, gw_params):
Expand Down
Loading