SurveyMonkey / pyteamcity

Use the TeamCity REST API from Python
51 stars 50 forks source link

test_get_builds_no_args_mock_send #8

Closed msabramo closed 9 years ago

msabramo commented 9 years ago

This increases test coverage by mocking session.send of requests, so we can more throughly test pyteamcity.

Before

Name         Stmts   Miss  Cover   Missing
------------------------------------------
pyteamcity      84     11    87%   54-58, 78-81, 91-92

After

Name         Stmts   Miss  Cover   Missing
------------------------------------------
pyteamcity      84      6    93%   57-58, 78-81