Skip to content

Commit 1854fd7

Browse files
committed
Fixed assert call while testing QTest proxies
1 parent 7958545 commit 1854fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytestqt/_tests/test_qtest_proxies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ def test_expected_qtest_proxies(qtbot, expected_method):
2727
"""
2828
Ensure that we are exporting expected QTest API methods.
2929
"""
30-
hasattr(qtbot, expected_method)
30+
assert hasattr(qtbot, expected_method)
3131
assert getattr(qtbot, expected_method).__name__ == expected_method

0 commit comments

Comments
 (0)