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

Issue ordered api nested model problems #662

Closed
wants to merge 2 commits into from
Closed

Issue ordered api nested model problems #662

wants to merge 2 commits into from

Conversation

strutt
Copy link

@strutt strutt commented Jul 4, 2019

Hi maintainers,

I spent a day figuring this out and generating a PR before noticing it partially duplicates the work for another PR #616.
However, my PR also includes test functions in test_swagger.py that fail pre-patch.
The new tests just create an ordered restplus.Api object for the 6 tests that failed when I set that globally during local testing.
If you accept this PR then you get test coverage too!

Cheers

Ben

The 6 tests added tests shadow the only tests that fail when
ordered=True was set in the fixture.
Add check for OrderedModel in Swagger.register_model(self, model)
Add check for OrderedModel in ref(model)
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.914% when pulling 6c443d3 on strutt:issue-ordered-api-nested-model-problems into fe085c8 on noirbizarre:master.

@strutt strutt closed this Mar 5, 2021
@strutt strutt deleted the issue-ordered-api-nested-model-problems branch March 5, 2021 12:50
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.

None yet

2 participants