Commit 407a25e8 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][docker] Add test for entrypoint property

parent f4bb5cda
...@@ -164,6 +164,26 @@ class WorkdirTest(NoDiscoveryTests): ...@@ -164,6 +164,26 @@ class WorkdirTest(NoDiscoveryTests):
self.assertEqual(content, "8.4\n") self.assertEqual(content, "8.4\n")
class EntrypointTest(NoDiscoveryTests):
def test_entrypoint(self):
"""Test that the entrypoint property is correctly used.
container ='debian:8.4', ["42"])
status =
logs =
if status != 0:
self.assertEqual(status, 0)
self.assertEqual(logs, "42\n")
class AsyncTest(NoDiscoveryTests): class AsyncTest(NoDiscoveryTests):
@slow @slow
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment