Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test: fixtest_project_push_rules test#2332

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 1 commit intomainfromjlvillal/fix_test
Oct 19, 2022
Merged

Conversation

JohnVillalovos
Copy link
Member

Make thetest_project_push_rules test work.

Make the `test_project_push_rules` test work.
Copy link
Member

@nejchnejch left a comment

Choose a reason for hiding this comment

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

I was wondering if raisingGitlabParsingError is correct for a "valid" response, IIRC we added it for malformed responses and not for real GitLab responses (although here I would expect an empty dict or 404 TBH). Maybe a more specific error or an upstream fix to not return None would be clearer to users.

Here is an old issue that I forgot about completely:#1192

And the upstream issue:https://gitlab.com/gitlab-org/gitlab/-/issues/8829

@JohnVillalovos
Copy link
MemberAuthor

I was wondering if raisingGitlabParsingError is correct for a "valid" response, IIRC we added it for malformed responses and not for real GitLab responses (although here I would expect an empty dict or 404 TBH). Maybe a more specific error or an upstream fix to not return None would be clearer to users.

I doubt it is the correct but it is what we are currently doing. My goal was to fix the test at this stage, not to fix the underlying issue which I think will be harder to fix...

Here is an old issue that I forgot about completely:#1192

And the upstream issue:https://gitlab.com/gitlab-org/gitlab/-/issues/8829

Good info!

@nejch
Copy link
Member

nejch commentedOct 19, 2022
edited
Loading

Makes sense, I just wanted to track that somewhere which was the purpose of the xfail. I've opened an issue for that :)

@nejchnejch merged commitc676b43 intomainOct 19, 2022
@nejchnejch deleted the jlvillal/fix_test branchOctober 19, 2022 16:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nejchnejchnejch approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@JohnVillalovos@nejch

[8]ページ先頭

©2009-2025 Movatter.jp