-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[py] Fix testShouldReturnWhenGettingAUrlThatDoesNotResolve so it does…
… not expect an exception
- Loading branch information
Showing
1 changed file
with
2 additions
and
8 deletions.
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
2bf6fde
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.
This changes the behaviour of what should be happening and should be backed out. See https://github.com/SeleniumHQ/selenium/blob/master/java/client/test/org/openqa/selenium/PageLoadingTest.java#L212
2bf6fde
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.
As far as I can tell the referenced Java test is only catching/ignoring
isIeDriverTimedOutException
. Any other exception would rethrow and cause the test to fail. Therefore, the test is merely checking thatget
does not throw when the URL does not resolve, which is also suggested by the test name oftestShouldReturnWhenGettingAUrlThatDoesNotResolve
.