mirror of https://github.com/docker/docker-py.git
Wrong key name in stats test
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
dfcc1d87bf
commit
64eac0b71c
|
@ -1054,7 +1054,7 @@ class GetContainerStatsTest(api_test.BaseTestCase):
|
||||||
self.client.kill(container)
|
self.client.kill(container)
|
||||||
|
|
||||||
self.assertEqual(type(response), dict)
|
self.assertEqual(type(response), dict)
|
||||||
for key in ['read', 'network', 'precpu_stats', 'cpu_stats',
|
for key in ['read', 'networks', 'precpu_stats', 'cpu_stats',
|
||||||
'memory_stats', 'blkio_stats']:
|
'memory_stats', 'blkio_stats']:
|
||||||
self.assertIn(key, response)
|
self.assertIn(key, response)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue