We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66f9163 commit c8253f3Copy full SHA for c8253f3
1 file changed
tests/unit/actions/test_client.py
@@ -11,8 +11,12 @@
11
class TestBoundAction:
12
@pytest.fixture()
13
def bound_running_action(self, mocked_requests):
14
+ action_client = ActionsClient(client=mocked_requests)
15
+ # Speed up tests that run `wait_until_finished`
16
+ action_client._client.poll_interval = 0.1
17
+
18
return BoundAction(
- client=ActionsClient(client=mocked_requests),
19
+ client=action_client,
20
data=dict(id=14, status=Action.STATUS_RUNNING),
21
)
22
0 commit comments