diff options
-rw-r--r-- | docs/api.md | 1 | ||||
-rw-r--r-- | tests/integration/container_test.py | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/docs/api.md b/docs/api.md index b6cc9f0..00ccabc 100644 --- a/docs/api.md +++ b/docs/api.md @@ -676,6 +676,7 @@ output as it happens. * stream (bool): Stream the response * timestamps (bool): Show timestamps * tail (str or int): Output specified number of lines at the end of logs: `"all"` or `number`. Default `"all"` +* since (datetime or int): Show logs since a given datetime or integer epoch (in seconds) **Returns** (generator or str): diff --git a/tests/integration/container_test.py b/tests/integration/container_test.py index 79840a1..e1fd443 100644 --- a/tests/integration/container_test.py +++ b/tests/integration/container_test.py @@ -750,9 +750,6 @@ class StopTest(helpers.BaseTestCase): container_info = self.client.inspect_container(id) self.assertIn('State', container_info) state = container_info['State'] - self.assertIn('ExitCode', state) - if helpers.exec_driver_is_native(): - self.assertNotEqual(state['ExitCode'], 0) self.assertIn('Running', state) self.assertEqual(state['Running'], False) @@ -766,9 +763,6 @@ class StopTest(helpers.BaseTestCase): container_info = self.client.inspect_container(id) self.assertIn('State', container_info) state = container_info['State'] - self.assertIn('ExitCode', state) - if helpers.exec_driver_is_native(): - self.assertNotEqual(state['ExitCode'], 0) self.assertIn('Running', state) self.assertEqual(state['Running'], False) |