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: reproduce missing pagination headers in tests#1788

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
JohnVillalovos merged 1 commit intomainfromtest/missing-pagination-headers
Dec 30, 2021

Conversation

nejch
Copy link
Member

Built on top of#1787.

I tried parametrizing tests at first but this seemed cleaner in the end, it would get overly complicated because ofpytest-dev/pytest#349.

@nejchnejch changed the titleTest/missing pagination headerstest: reproduce missing pagination headers in testsDec 30, 2021
Copy link
Member

@JohnVillalovosJohnVillalovos left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Left a nit. But good to merge for me.


importpickle
importwarnings
fromcopyimportdeepcopy

Choose a reason for hiding this comment

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

nit: My personal taste isimport copy and then usecopy.deepcopy() as when reading the code quickly know where it comes from.

@JohnVillalovosJohnVillalovos merged commit501f9a1 intomainDec 30, 2021
@JohnVillalovosJohnVillalovos deleted the test/missing-pagination-headers branchDecember 30, 2021 19:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@JohnVillalovosJohnVillalovosJohnVillalovos 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

@nejch@JohnVillalovos

[8]ページ先頭

©2009-2025 Movatter.jp