-
Notifications
You must be signed in to change notification settings - Fork 62
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
487 live tests #491
base: master
Are you sure you want to change the base?
487 live tests #491
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #491 +/- ##
========================================
- Coverage 94.4% 94.1% -0.3%
========================================
Files 23 23
Lines 1776 1788 +12
========================================
+ Hits 1678 1684 +6
- Misses 98 104 +6
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things I missed in the initial PR.
try: | ||
from typing import cast | ||
except ImportError: | ||
from typing_extensions import cast |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't from typing_extensions import cast
suffice, as it already does a very similar thing under the hood?
return self._check_hns_root_metadata(cloud_path) | ||
except HttpResponseError as error: | ||
if error.status_code == HTTPStatus.FORBIDDEN: | ||
self._check_hns_root_metadata(cloud_path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: to be consistent, either both of these should be a return
statement or none of them should.
Live tests for #487