File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -226,24 +226,6 @@ def test_detach_with_config_file(self):
226
226
227
227
assert_cat_socket_detached_with_keys (sock , [ctrl_with ('p' )])
228
228
229
- def test_detach_with_arg (self ):
230
- self .client ._general_configs ['detachKeys' ] = 'ctrl-p'
231
- container = self .client .create_container (
232
- BUSYBOX , 'cat' , detach = True , stdin_open = True
233
- )
234
- id = container ['Id' ]
235
- self .client .start (id )
236
- self .tmp_containers .append (id )
237
-
238
- exec_id = self .client .exec_create (
239
- id , 'cat' ,
240
- stdin = True , tty = True , detach_keys = 'ctrl-x' , stdout = True
241
- )
242
- sock = self .client .exec_start (exec_id , tty = True , socket = True )
243
- self .addCleanup (sock .close )
244
-
245
- assert_cat_socket_detached_with_keys (sock , [ctrl_with ('x' )])
246
-
247
229
248
230
class ExecDemuxTest (BaseAPIIntegrationTest ):
249
231
cmd = 'sh -c "{}"' .format (' ; ' .join ([
You can’t perform that action at this time.
0 commit comments