Skip to content

Commit 5ed73c0

Browse files
Damien Nadéshin-
authored andcommitted
Fixed events command related unit tests by passing a timeout value
Signed-off-by: Damien Nadé <[email protected]>
1 parent f5b5602 commit 5ed73c0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/unit/api_test.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ def test_events(self):
228228
'GET',
229229
url_prefix + 'events',
230230
params={'since': None, 'until': None, 'filters': None},
231-
stream=True
231+
stream=True,
232+
timeout=DEFAULT_TIMEOUT_SECONDS
232233
)
233234

234235
def test_events_with_since_until(self):
@@ -247,7 +248,8 @@ def test_events_with_since_until(self):
247248
'until': ts + 10,
248249
'filters': None
249250
},
250-
stream=True
251+
stream=True,
252+
timeout=DEFAULT_TIMEOUT_SECONDS
251253
)
252254

253255
def test_events_with_filters(self):
@@ -265,7 +267,8 @@ def test_events_with_filters(self):
265267
'until': None,
266268
'filters': expected_filters
267269
},
268-
stream=True
270+
stream=True,
271+
timeout=DEFAULT_TIMEOUT_SECONDS
269272
)
270273

271274
def _socket_path_for_client_session(self, client):

0 commit comments

Comments
 (0)