gwpy / gwtrigfind

Mirror of official gwtrigfind project
https://git.ligo.org/detchar/tools/gwtrigfind
GNU General Public License v3.0
1 stars 5 forks source link

Use mock to allow testing of file finders #8

Closed duncanmmacleod closed 8 years ago

duncanmmacleod commented 8 years ago

This PR introduces better unit tests of each of the ETG finder methods, using mock to fake the _find_in_gps_dirs step that would require the files to actually exist.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+43.4%) to 69.421% when pulling 8697d391360d471dfda43531a1e29cd7e3fc7b91 on duncanmmacleod:coverage into 5902161f39c634dc4e73fe5960a03c1eb98fa34c on ligovirgo:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+56.6%) to 82.645% when pulling 2ab013a5571dfd96830f284083f2ff9b9042c1f0 on duncanmmacleod:coverage into 5902161f39c634dc4e73fe5960a03c1eb98fa34c on ligovirgo:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+56.6%) to 82.645% when pulling 2ab013a5571dfd96830f284083f2ff9b9042c1f0 on duncanmmacleod:coverage into 5902161f39c634dc4e73fe5960a03c1eb98fa34c on ligovirgo:master.