Closed hredestig closed 7 years ago
:exclamation: No coverage uploaded for pull request base (
devel@88e4db7
). Click here to learn what that means. The diff coverage is50.64%
.
@@ Coverage Diff @@
## devel #18 +/- ##
========================================
Coverage ? 48.65%
========================================
Files ? 7
Lines ? 559
Branches ? 0
========================================
Hits ? 272
Misses ? 287
Partials ? 0
Impacted Files | Coverage Δ | |
---|---|---|
upload/app.py | 0% <0%> (ø) |
|
upload/tests/test_inspection.py | 100% <100%> (ø) |
|
upload/settings.py | 100% <100%> (ø) |
|
upload/checks.py | 57.35% <40%> (ø) |
|
upload/upload.py | 52.12% <40.9%> (ø) |
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 88e4db7...bcd215c. Read the comment docs.
good point on using one instead of first, fixed
Thanks for the review, I need to release these fixes so will go ahead and merge, please raise issue if there was still something left to do
Don't think it's worth creating issues but two points we should keep in the back of our heads:
iloop.Model.one
method may raise NoResultFound
or MultipleResultsFound
(not sure if/how those exceptions are wrapped by Potion). We may need to catch those exceptions if they bubble up to the frontend somehow.namedtuple
for the PROJECT_OBJECT
is a nice way of going about but it's also the perfect use-case for a mocked instance. Might consider using factoryboy in future.