diff options
| author | Joffrey F <f.joffrey@gmail.com> | 2015-09-10 10:37:05 -0700 |
|---|---|---|
| committer | Joffrey F <f.joffrey@gmail.com> | 2015-09-10 10:37:05 -0700 |
| commit | de5aab87b419ce24c7e3e84225e9a06b9e880300 (patch) | |
| tree | f8733a7ec7ad8283bab7f4f5f45446705d1b5f19 /tests | |
| parent | 03f54f44e523b36d01bc8c03f015286fa84ed8ce (diff) | |
| parent | 1e916a1e83af49bc8d2fd5026ca9746129d1cebc (diff) | |
| download | docker-py-de5aab87b419ce24c7e3e84225e9a06b9e880300.tar.gz | |
Merge pull request #753 from docker/715-user-int-uid
Always send a string for the user param in create_container
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/integration_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/integration_test.py b/tests/integration_test.py index 0cf1250..6d44d07 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -1621,3 +1621,9 @@ class TestRegressions(BaseTestCase): ctnr = self.client.create_container('busybox', ['sleep', '2']) self.client.start(ctnr) self.client.stop(ctnr) + + def test_715(self): + 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' |
