We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5571d1a commit cefad9eCopy full SHA for cefad9e
tests/integration/build_test.py
@@ -105,9 +105,12 @@ def test_build_with_buildargs(self):
105
'USER $test'
106
]).encode('ascii'))
107
108
- self.client.build(fileobj=script, tag='buildargs',
109
- buildargs={'test': 'OK'}, stream=True)
+ stream = self.client.build(
+ fileobj=script, tag='buildargs', buildargs={'test': 'OK'}
110
+ )
111
self.tmp_imgs.append('buildargs')
112
+ for chunk in stream:
113
+ pass
114
115
info = self.client.inspect_image('buildargs')
116
self.assertEqual(info['Config']['User'], 'OK')
0 commit comments