ciaranmccormick / python-bods-client

A python client for the Bus Open Data Service API
MIT License
21 stars 3 forks source link

Improve test coverage #18

Closed ciaranmccormick closed 2 years ago

ciaranmccormick commented 2 years ago

Test coverage around SIRI VM response and some of the GTFS-RT response were lacking.

Added requests-mock as a test dependency and refactored some of the tests to use it as fixture rather than mocking things as part of the test setup.