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.
2 parents db7f8b8 + e5c3eb1 commit 526a9dbCopy full SHA for 526a9db
tests/integration/api_build_test.py
@@ -275,7 +275,7 @@ def test_build_container_with_target(self):
275
pass
276
277
info = self.client.inspect_image('build1')
278
- assert not info['Config']['OnBuild']
+ assert 'OnBuild' not in info['Config'] or not info['Config']['OnBuild']
279
280
@requires_api_version('1.25')
281
def test_build_with_network_mode(self):
tests/ssh/api_build_test.py
@@ -266,7 +266,7 @@ def test_build_container_with_target(self):
266
267
268
269
270
271
272
0 commit comments