diff options
author | Joffrey F <joffrey@docker.com> | 2015-08-31 18:35:32 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2015-08-31 18:35:32 -0700 |
commit | 1e916a1e83af49bc8d2fd5026ca9746129d1cebc (patch) | |
tree | 526779919572745d63b3926249be17a52a81eb3c | |
parent | add97869554e7c84724988c12a46604586a4d7ad (diff) | |
download | docker-py-715-user-int-uid.tar.gz |
Test UID validity715-user-int-uid
-rw-r--r-- | tests/integration_test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/integration_test.py b/tests/integration_test.py index db4d131..4fb2b8f 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -1626,4 +1626,7 @@ class TestRegressions(BaseTestCase): self.client.stop(ctnr) def test_715(self): - self.client.create_container('busybox', 'true', user=1000) + ctnr = self.client.create_container('busybox', ['id', '-u'], user=1000) + self.client.start(ctnr) + self.client.wait(ctnr) + assert self.client.logs(ctnr) == '1000\n' |