File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -85,13 +85,8 @@ def test_commit(self):
85
85
img_id = res ['Id' ]
86
86
self .tmp_imgs .append (img_id )
87
87
img = self .client .inspect_image (img_id )
88
- assert 'Container' in img
89
- assert img ['Container' ].startswith (id )
90
- assert 'ContainerConfig' in img
91
- assert 'Image' in img ['ContainerConfig' ]
92
- assert TEST_IMG == img ['ContainerConfig' ]['Image' ]
93
- busybox_id = self .client .inspect_image (TEST_IMG )['Id' ]
94
88
assert 'Parent' in img
89
+ busybox_id = self .client .inspect_image (TEST_IMG )['Id' ]
95
90
assert img ['Parent' ] == busybox_id
96
91
97
92
def test_commit_with_changes (self ):
@@ -103,8 +98,6 @@ def test_commit_with_changes(self):
103
98
)
104
99
self .tmp_imgs .append (img_id )
105
100
img = self .client .inspect_image (img_id )
106
- assert 'Container' in img
107
- assert img ['Container' ].startswith (cid ['Id' ])
108
101
assert '8000/tcp' in img ['Config' ]['ExposedPorts' ]
109
102
assert img ['Config' ]['Cmd' ] == ['bash' ]
110
103
You can’t perform that action at this time.
0 commit comments