Refactor log printing to support containers that are started later.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
94b1862579
commit
65797558f8
6 changed files with 176 additions and 170 deletions
|
|
@ -307,6 +307,7 @@ class ProjectTest(unittest.TestCase):
|
|||
'image': 'example/image',
|
||||
},
|
||||
'time': dt_with_microseconds(1420092061, 2),
|
||||
'container': Container(None, {'Id': 'abcde'}),
|
||||
},
|
||||
{
|
||||
'type': 'container',
|
||||
|
|
@ -318,6 +319,7 @@ class ProjectTest(unittest.TestCase):
|
|||
'image': 'example/image',
|
||||
},
|
||||
'time': dt_with_microseconds(1420092061, 3),
|
||||
'container': Container(None, {'Id': 'abcde'}),
|
||||
},
|
||||
{
|
||||
'type': 'container',
|
||||
|
|
@ -329,6 +331,7 @@ class ProjectTest(unittest.TestCase):
|
|||
'image': 'example/db',
|
||||
},
|
||||
'time': dt_with_microseconds(1420092061, 4),
|
||||
'container': Container(None, {'Id': 'ababa'}),
|
||||
},
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue