codeclimate / python-test-reporter

DEPRECATED Uploads Python test coverage data to Code Climate
https://codeclimate.com
Other
19 stars 11 forks source link

Safely execute git commands in test suite #15

Closed dblandin closed 8 years ago

dblandin commented 8 years ago

When running the test suite locally and not in a docker container, the tests executing git commands would manipulate the current git repository and local git config. Obviously not good.

This PR updates the relevant spec to cd into the fixtures directory, execute git commands there, and cleanup afterwards.