Closed nicoddemus closed 6 years ago
Fair enough, thanks! Done
@nicoddemus @RonnyPfannschmidt Thanks! :heart_eyes:
we are eager and happy to help people gravitate towards better testing, its been a pleasure :+1:
Merging #312 into master will increase coverage by
<.01%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #312 +/- ##
==========================================
+ Coverage 99.25% 99.25% +<.01%
==========================================
Files 26 26
Lines 3601 3602 +1
Branches 261 261
==========================================
+ Hits 3574 3575 +1
Misses 15 15
Partials 12 12
Impacted Files | Coverage Δ | |
---|---|---|
osbrain/tests/test_agent_transport.py | 96.42% <100%> (+0.04%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 26ba98e...05e06f6. Read the comment docs.
As discussed in https://github.com/pytest-dev/pytest/issues/3973, pytest 3.8.0 introduced some code that ends up checking the
cwd
by accident. One of the tests in your test suites changes thecwd
to a temporary directory, and this blows up some tests after it.This change uses the
monkeypatch
fixture to safe cwd-switching, by restoring it to the original value at the end of the test.