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

Fix fail when header has more than one equals #440

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

ircwaves
Copy link
Member

@ircwaves ircwaves commented Mar 2, 2023

Related Issue(s):

  • No ticket

Description:
Adding a header from the CLI failed to parse if there was more than one equal sign (=). This fixes that, and adds a test which demonstrates the improvement.

PR Checklist:

  • Code is formatted
  • Tests pass
  • Changes are added to the CHANGELOG

@ircwaves ircwaves changed the title Fix fail when auth has equals Fix fail when header has more than one equals Mar 2, 2023
@gadomski gadomski self-requested a review March 2, 2023 22:22
@gadomski gadomski added this to the 0.6.1 milestone Mar 2, 2023
@codecov-commenter
Copy link

codecov-commenter commented Mar 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.87 🎉

Comparison is base (4093002) 86.24% compared to head (d4aebcd) 87.12%.

❗ Current head d4aebcd differs from pull request most recent head 77e2189. Consider uploading reports for the commit 77e2189 to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #440      +/-   ##
==========================================
+ Coverage   86.24%   87.12%   +0.87%     
==========================================
  Files          11       11              
  Lines         829      831       +2     
==========================================
+ Hits          715      724       +9     
+ Misses        114      107       -7     
Impacted Files Coverage Δ
pystac_client/cli.py 66.40% <100.00%> (+6.08%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

pystac_client/cli.py Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
tests/test_cli.py Outdated Show resolved Hide resolved
@ircwaves ircwaves force-pushed the fix-fail-when-auth-has-equals branch from ad3c205 to a14cf68 Compare March 3, 2023 15:49
Copy link
Member Author

@ircwaves ircwaves left a comment

Choose a reason for hiding this comment

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

Thanks for the review. Addressed some of the changes. Asked questions on others.

pystac_client/cli.py Show resolved Hide resolved
tests/test_cli.py Outdated Show resolved Hide resolved
@gadomski gadomski force-pushed the fix-fail-when-auth-has-equals branch 2 times, most recently from 77e2189 to 9a42673 Compare March 3, 2023 15:59
@gadomski gadomski merged commit 2a2f9dc into stac-utils:main Mar 3, 2023
@ircwaves ircwaves deleted the fix-fail-when-auth-has-equals branch March 7, 2023 19:15
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.

3 participants