Skip to content

Pytest fixes#556

Merged
iamdefinitelyahuman merged 3 commits intomasterfrom
fix-pytest-import-paths
May 26, 2020
Merged

Pytest fixes#556
iamdefinitelyahuman merged 3 commits intomasterfrom
fix-pytest-import-paths

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
Member

What I did

  • Bugfix: script imports from the stdlib
  • Add project path to sys.path prior to loading pytest
  • Improve readability of exception when compilation fails while running pytest

How to verify it

Run tests.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 26, 2020

Codecov Report

Merging #556 into master will decrease coverage by 0.00%.
The diff coverage is 69.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #556      +/-   ##
==========================================
- Coverage   88.00%   88.00%   -0.01%     
==========================================
  Files          56       56              
  Lines        6312     6319       +7     
  Branches     1396     1396              
==========================================
+ Hits         5555     5561       +6     
- Misses        522      523       +1     
  Partials      235      235              
Impacted Files Coverage Δ
brownie/project/scripts.py 87.14% <66.66%> (ø)
brownie/test/plugin.py 76.31% <66.66%> (-4.94%) ⬇️
brownie/_cli/test.py 85.71% <100.00%> (+0.71%) ⬆️
brownie/network/state.py 93.04% <0.00%> (+1.73%) ⬆️

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 44d07a0...906f8ec. Read the comment docs.

@iamdefinitelyahuman iamdefinitelyahuman merged commit e809ea5 into master May 26, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-pytest-import-paths branch May 26, 2020 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants