mirror of https://github.com/docker/docker-py.git
Fixed events command related unit tests by passing a timeout value
Signed-off-by: Damien Nadé <github@livna.org>
This commit is contained in:
parent
b587139d3c
commit
f36ef399ad
|
@ -228,7 +228,8 @@ class DockerApiTest(BaseAPIClientTest):
|
|||
'GET',
|
||||
url_prefix + 'events',
|
||||
params={'since': None, 'until': None, 'filters': None},
|
||||
stream=True
|
||||
stream=True,
|
||||
timeout=DEFAULT_TIMEOUT_SECONDS
|
||||
)
|
||||
|
||||
def test_events_with_since_until(self):
|
||||
|
@ -247,7 +248,8 @@ class DockerApiTest(BaseAPIClientTest):
|
|||
'until': ts + 10,
|
||||
'filters': None
|
||||
},
|
||||
stream=True
|
||||
stream=True,
|
||||
timeout=DEFAULT_TIMEOUT_SECONDS
|
||||
)
|
||||
|
||||
def test_events_with_filters(self):
|
||||
|
@ -265,7 +267,8 @@ class DockerApiTest(BaseAPIClientTest):
|
|||
'until': None,
|
||||
'filters': expected_filters
|
||||
},
|
||||
stream=True
|
||||
stream=True,
|
||||
timeout=DEFAULT_TIMEOUT_SECONDS
|
||||
)
|
||||
|
||||
def _socket_path_for_client_session(self, client):
|
||||
|
|
Loading…
Reference in New Issue