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: fix rest gw tests #777

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

evgeniiz321
Copy link
Contributor

No description provided.

@evgeniiz321 evgeniiz321 self-assigned this Apr 11, 2024
@evgeniiz321 evgeniiz321 force-pushed the ezayats/fix-rest-gw branch 2 times, most recently from d818092 to 9f23c0d Compare April 11, 2024 03:46
{"fileName": "simple_obj_filename"},
{"file-Name": "simple obj filename"},
{"cat%jpeg": "cat%jpeg"},
{"Filename": "simple_obj_filename"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FileName, it's special.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a separate case for FileName

@@ -335,11 +335,10 @@ def test_put_http_get_http(self, complex_object_size, simple_object_size, gw_par
@pytest.mark.parametrize(
"attributes",
[
{"fileName": "simple_obj_filename"},
{"file-Name": "simple obj filename"},
{"cat%jpeg": "cat%jpeg"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're removing it without a notice, it should be a separate commit. nspcc-dev/neofs-rest-gw#195 is the real reason (that we can't fix now).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was an officially unsupported symbol in current rest gw, returned it back and skipped properly.

Signed-off-by: Evgeniy Zayats <zayatsevgeniy@nspcc.io>
@evgeniiz321 evgeniiz321 force-pushed the ezayats/fix-rest-gw branch from 9f23c0d to 391592a Compare April 12, 2024 00:48
Signed-off-by: Evgeniy Zayats <zayatsevgeniy@nspcc.io>
@evgeniiz321 evgeniiz321 force-pushed the ezayats/fix-rest-gw branch from 391592a to 60c0945 Compare April 12, 2024 00:53
@roman-khimov roman-khimov merged commit c516d25 into nspcc-dev:master Apr 12, 2024
1 of 2 checks passed
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.

2 participants