petl-developers / petl

Python Extract Transform and Load Tables of Data
MIT License
1.25k stars 193 forks source link

Improve test helpers testing #614

Closed juarezr closed 2 years ago

juarezr commented 2 years ago

This PR has the objective of improving pytest helpers testing

Changes

  1. Added new helper get_env_vars_named available for pytest for further use
  2. Fixed a bug in test helper ieq
  3. Fixed warnings in pytest of xml and transform.regex.capture
  4. Improved the docs about test helper ieq, eq_

Checklist

Use this checklist for assuring the quality of pull requests that include new code and or make changes to existing code.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1865084724


Changes Missing Coverage Covered Lines Changed/Added Lines %
petl/test/helpers.py 29 31 93.55%
<!-- Total: 71 73 97.26% -->
Files with Coverage Reduction New Missed Lines %
petl/test/helpers.py 1 89.29%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 1815091133: 0.1%
Covered Lines: 12555
Relevant Lines: 13632

💛 - Coveralls