File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def test_pod_apis(self):
119119 resp = stream (api .connect_get_namespaced_pod_exec , name , 'default' ,
120120 command = exec_command ,
121121 stderr = False , stdin = False ,
122- stdout = True , tty = False )
122+ stdout = True , tty = False , _preload_content = False )
123123 print ('EXEC response : %s (%s)' % (repr (resp ), type (resp )))
124124 self .assertIsInstance (resp , str )
125125 self .assertEqual (3 , len (resp .splitlines ()))
@@ -131,7 +131,7 @@ def test_pod_apis(self):
131131 command = exec_command ,
132132 stderr = False , stdin = False ,
133133 stdout = True , tty = False ,
134- binary = True )
134+ binary = True , _preload_content = False )
135135 print ('EXEC response : %s (%s)' % (repr (resp ), type (resp )))
136136 self .assertIsInstance (resp , bytes )
137137 self .assertEqual ("This is a test string" , gzip .decompress (resp ).decode ('utf-8' ))
You can’t perform that action at this time.
0 commit comments