Closed abhaasgoyal closed 7 months ago
Attention: 18 lines
in your changes are missing coverage. Please review.
Comparison is base (
5b6c6fa
) 59.13% compared to head (e3f1f9e
) 59.65%. Report is 8 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
tests/test_benchcab.py | 59.25% | 11 Missing :warning: |
benchcab/benchcab.py | 0.00% | 7 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@ccarouge @SeanBryan51 right now the CI test is failing due to not having $PROJECT
. I was wondering about how to go about this in terms of best practices of writing unit tests:
$PROJECT
, else define it on os.environ
before running the test function$PROJECT
first, or define project
in every config.yaml
__init__.py
)Ok so for now I've created a mock test environment variable within the test-config
module using monkeypatch. This will clear out all environment variables and reset $PROJECT
before running each test.
Fixes #231 , #246
Merge Message
project
keyword, use the corresponding value as ID, otherwise use$PROJECT
.config
module.