Skip to content

Commit 9327e1e

Browse files
test(responsetemplate): fix result assertions
1 parent 75ecf9e commit 9327e1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_responsetemplate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def test_responsetemplatemethods():
2828

2929
# #.isPending
3030
# [not in api response]
31-
assert tpl.isPending() == False
31+
assert tpl.isPending() is False
3232
# [in api response]
3333
tpl2 = ResponseTemplate(
3434
'[RESPONSE]\r\ncode=423\r\ndescription=Empty API response\r\npending=1\r\nEOF\r\n')
35-
assert tpl2.isPending()
35+
assert tpl2.isPending() is True

0 commit comments

Comments
 (0)