Skip to content

Fix test with STRICT_JSON setting #6654

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

Merged
merged 1 commit into from
May 8, 2019
Merged

Conversation

jor-rit
Copy link
Contributor

@jor-rit jor-rit commented May 8, 2019

Description

Test is not overriding the intended setting, should be nested inside settings.REST_FRAMEWORK

Test is not overriding the intended setting, should be nested inside settings.REST_FRAMEWORK
@jor-rit
Copy link
Contributor Author

jor-rit commented May 8, 2019

could also argue that this whole test is a bit superfluous... but since it's a one line change and it could protect against future 'insanity'.

@xordoquy
Copy link
Collaborator

xordoquy commented May 8, 2019

Nice catch, thanks.

@xordoquy xordoquy merged commit 2e7ab9d into encode:master May 8, 2019
@rpkilby
Copy link
Member

rpkilby commented May 8, 2019

Good catch. It might be valuable to add additional tests for non-strict behavior. 🤔

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.

3 participants