-
Notifications
You must be signed in to change notification settings - Fork 1
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
DM-37917: Add testing against real webDAV server for HttpResourcePath #40
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
a9b6f21
Improve handling of DELETE requests
airnandez 0469e84
Test deletion of a directory raises
airnandez a5a5f12
Add method to explicitly close sessions to avoid warnings when unit t…
airnandez e0e5ac1
Improve comments for session retries
airnandez 9ac5a1d
Comply with conventions for documenting methods
airnandez 632155b
Add test case using a local webDAV server
airnandez 5bbe8c0
Minor improvements and corrections of typos
airnandez 108c893
Add missing return type annotation
airnandez f7fe03f
Raise NotADirectoryError rather than ValueError when not a directory
timj 3ce43db
Fix the confusing test case class name for S3 tests
timj b79d643
Enable standard testing of HTTP WebDav interface
timj d52dd73
The root URI to test can include a non-empty path
airnandez 554afff
Ensure the parent directory exists before actually uploading data
airnandez d56425f
Restructure tests in several ways:
airnandez 459bccf
Give priority to test against real servers in development setting if …
airnandez 260b147
Ensure all webDAV requests download the response body immediately
airnandez a7a3d9d
Parse status element of PROPFIND response for making easier inspectio…
airnandez 3d556fc
Simplify path building
airnandez 67e387f
Ensure absolute path starts by single slash
airnandez db184ba
Internal method _close_sessions() no longer needed
airnandez 6b8a6bb
Restructure tests and remove testing with mocked responses.
airnandez 4087c3e
Keep naming of test cases consistent
airnandez File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The
path.lstrip
at the top makes this line a no-op I think.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.
See comment above.