Skip to content

Commit 2882745

Browse files
Fix IDE warnings of return when error
This fixes warnings generated by IDEs that element actions might return None in case of soft assert and later called with next actions.
1 parent 316c5f8 commit 2882745

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testui/elements/testui_element.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def __show_error(self, exception):
9999
:param exception: exception
100100
"""
101101
testui_error(self.testui_driver, exception)
102+
return self
102103

103104
def get(self, index):
104105
"""

0 commit comments

Comments
 (0)