Closed crudo10 closed 7 years ago
The tests are failing due to lint error: https://travis-ci.org/Trax-air/swagger-parser/jobs/178064560
Fix #31 Fix #32 Fix #33
Line 872 and 875 are too long, max length is 120
Good the tests are green :smile: Can you add one test for each of your fix (eg for each of your issues) ?
I am not sure I am familiar with the test strategy. Do I need to modify some data (swagger) sample to introduce test cases that caused bugs? Or I can do that at UT level?
I think the best option is to call the functions you just fix with args that was failing before your test, and check that is working now. You can put this either in an already existing test case (function in this file: https://github.com/Trax-air/swagger-parser/blob/master/tests/test_swagger_parser.py) if one is already testing the function, or create a new test case.
we might want to consider some refactoring of the code to reduce the number of indentation levels and enhance readability
Sorry for the really long delay. I will check this soon :smiley:
Running into some errors which would be solved with this PR. Would be awesome to get this to master!
I resolved the conflict and kept the logging line for safety
@philippeluickx I'm merging this. @cyprieng I'll fix the tests in a next PR to drop python2.6 support. I'll make a major version bump then
i think you need to update your PR, since "There are no new changes to show."