Skip to content

Ux get result handling broken#6052

Merged
mih merged 3 commits into
datalad:maintfrom
christian-monch:ux_get_result_handling_broken
Oct 9, 2021
Merged

Ux get result handling broken#6052
mih merged 3 commits into
datalad:maintfrom
christian-monch:ux_get_result_handling_broken

Conversation

@christian-monch
Copy link
Copy Markdown
Contributor

Fixes issue #5940. Adds a guard for "path"-lookups in result dictionaries. Adds regression tests.

[x] adds a guard for "path"-lookups in result dictionary handling in get
[x] asserts that "ok"-results have a "path"-key
[x] adds regression tests

@christian-monch christian-monch added tests Add or improve existing tests UX user experience labels Oct 7, 2021
Copy link
Copy Markdown
Member

@mih mih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for looking into this! I left a concern

Comment thread datalad/distribution/get.py Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 7, 2021

Codecov Report

Merging #6052 (48dbc97) into maint (662b0a5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##            maint    #6052   +/-   ##
=======================================
  Coverage   90.26%   90.26%           
=======================================
  Files         312      312           
  Lines       42189    42206   +17     
=======================================
+ Hits        38080    38097   +17     
  Misses       4109     4109           
Impacted Files Coverage Δ
datalad/distribution/get.py 97.90% <100.00%> (ø)
datalad/distribution/tests/test_get.py 100.00% <100.00%> (ø)

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 662b0a5...48dbc97. Read the comment docs.

@christian-monch christian-monch requested a review from mih October 7, 2021 18:25
Copy link
Copy Markdown
Member

@mih mih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx!

@mih mih merged commit d303782 into datalad:maint Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Add or improve existing tests UX user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants