Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update VCR recordings #203

Merged
merged 2 commits into from
Jun 20, 2018
Merged

Update VCR recordings #203

merged 2 commits into from
Jun 20, 2018

Conversation

valgur
Copy link
Member

@valgur valgur commented Jun 6, 2018

I updated any changed recordings and fixed a single broken unit test.

@Fernerkundung Could you please check that the logic of test_option_hierarchy() is still sound?

@codecov
Copy link

codecov bot commented Jun 6, 2018

Codecov Report

Merging #203 into master will increase coverage by 0.18%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #203      +/-   ##
==========================================
+ Coverage   95.14%   95.33%   +0.18%     
==========================================
  Files           3        3              
  Lines         536      536              
  Branches      108      108              
==========================================
+ Hits          510      511       +1     
  Misses         16       16              
+ Partials       10        9       -1
Impacted Files Coverage Δ
sentinelsat/sentinel.py 95.54% <0%> (+0.22%) ⬆️

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 c603183...baae290. Read the comment docs.

@kr-stn kr-stn self-requested a review June 6, 2018 15:05
products = re.findall("^Product .+$", result.output, re.M)
# Check that all returned products are of type 'S2MSI1C'
assert len(products) > 0
assert all("Instrument: MSI, Mode: , Satellite: Sentinel-2" in p for p in products)
Copy link
Member

Choose a reason for hiding this comment

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

The logic is still sound and you improved the test by asserting that all products are correct, not just the first one. Great job!

@kr-stn kr-stn merged commit 8923a8d into sentinelsat:master Jun 20, 2018
@valgur valgur deleted the update-fixtures branch June 21, 2018 18:39
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