We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
not
is False
1 parent 484ed0b commit 44b71d9Copy full SHA for 44b71d9
packages/google-api-core/tests/unit/test_extended_operation.py
@@ -70,8 +70,8 @@ def make_extended_operation(responses=None):
70
def test_constructor():
71
ex_op, refresh, _ = make_extended_operation()
72
assert ex_op._extended_operation == refresh.responses[0]
73
- assert ex_op.cancelled() is False
74
- assert ex_op.done() is False
+ assert not ex_op.cancelled()
+ assert not ex_op.done()
75
assert ex_op.name == TEST_OPERATION_NAME
76
assert ex_op.status == CustomOperation.StatusCode.PENDING
77
assert ex_op.error_code is None
0 commit comments