Skip to content

Issue ordered api nested model problems#662

Closed
strutt wants to merge 2 commits intonoirbizarre:masterfrom
strutt:issue-ordered-api-nested-model-problems
Closed

Issue ordered api nested model problems#662
strutt wants to merge 2 commits intonoirbizarre:masterfrom
strutt:issue-ordered-api-nested-model-problems

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

strutt added 2 commits July 4, 2019 16:35
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.

2 participants