summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* I suck at pythonlxc_driver_test_compatJoffrey F2015-02-261-5/+5
|
* Ensure integration tests work with LXC exec driverJoffrey F2015-02-261-4/+16
|
* Resolves #497 - add support for dockerfileDaniel Nephin2015-02-201-0/+6
| | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Fix several DOCKER_HOST assumptions in integration_test.pyTianon Gravi2015-02-161-2/+2
|
* Fix pep8 error1.0.0Joffrey F2015-02-161-2/+2
|
* FormattingJoffrey F2015-02-121-149/+129
|
* Merge branch 'add-stats-api-support' of https://github.com/nir0s/docker-py ↵Joffrey F2015-02-124-1/+175
|\ | | | | | | into nir0s-add-stats-api-support
| * minornir0s2015-02-121-2/+2
| |
| * removed aggregation for now and added a unit test. also using stream_helper nownir0s2015-02-123-0/+174
| |
| * added initial support for stats retrievalnir0s2015-02-111-1/+1
| |
* | pid_mode integration testspid_modeJoffrey F2015-02-111-0/+31
| |
* | Merge pull request #480 from ggtools/eventsJoffrey F2015-02-112-1/+61
|\ \ | | | | | | Add missing options to the events command
| * | Fix datetime issue with Python 2.6Christophe Labouisse2015-02-111-3/+4
| | | | | | | | | | | | Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
| * | Add missing options to the events commandChristophe Labouisse2015-02-112-1/+60
| |/ | | | | | | | | | | | | - Add since, until and filters parameters to `Client.events` - Add missing `events`command in the documentation Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
* | read_only parameterread_only_rootfsJoffrey F2015-02-101-0/+27
|/
* Merge pull request #482 from docker/rename_containerJoffrey F2015-02-103-1/+35
|\ | | | | New Client.rename() method
| * rename() tests and docsrename_containerJoffrey F2015-02-103-1/+35
| |
* | Fix crash when building from remote sourcesVincent Giersch2015-02-041-0/+14
|/ | | | | | | Avoid crashing when the Docker python client is able to load registry credentials when building using a remote source Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
* Additional tests and small improvement to auth.resolve_authconfigJoffrey F2015-02-011-0/+55
|
* Add Support for Mac AddressJames Harris2015-01-213-1/+31
| | | | | | The new docker api allows specifing mac address for containers. This change is to allow docker py the same functionality. Signed-off-by: James Harris <james@rancher.com>
* Fixed TestRestartingContainer0.7.1Joffrey F2015-01-131-2/+2
|
* Integration tests fixesintegration_fixesJoffrey F2015-01-091-35/+15
|
* Added RO volumes testsJoffrey F2015-01-081-7/+99
|
* Merge branch 'master' of https://github.com/rmohr/docker-py into rmohr-masterJoffrey F2015-01-081-0/+11
|\
| * Keep unix socket alive with python3Roman Mohr2014-12-211-0/+11
| |
* | Fix for issue #443Joffrey F2015-01-081-0/+14
|/
* Use create_host_config in start (unifying parameter processing)0.7.0-releaseJoffrey F2014-12-182-2/+6
|
* Improved integration tests to run on python3 and close sessions after in ↵Joffrey F2014-12-181-22/+50
| | | | tearDown phase
* Merge pull request #427 from abanna/adding_multiple_dockercfg_supportJoffrey F2014-12-181-2/+32
|\ | | | | adding the ability to login with different dockercfg files.
| * missed a lint errorabanna2014-12-181-2/+4
| |
| * adding the ability to login with different dockercfg files.Alex Banna2014-12-181-2/+30
| |
* | Merge pull request #435 from dims/fix-flake8-issuesJoffrey F2014-12-181-2/+2
|\ \ | | | | | | flake8 fails with F821 for unicode under python 3.4.2
| * | flake8 fails with F821 for unicode under python 3.4.2Davanum Srinivas2014-12-181-2/+2
| |/
* | Tidy up stream test harness & fix race conditionsMarcus Cobden2014-12-181-23/+29
|/
* Retry on connection errorJoffrey F2014-12-171-4/+11
|
* Use unicode() typecast instead of u'' literal (3.2 compat). Fixes #408Joffrey F2014-12-171-2/+2
|
* Merge branch 'master' of https://github.com/leth/docker-py into leth-masterJoffrey F2014-12-171-0/+91
|\ | | | | | | | | Conflicts: tests/test.py
| * Consume from chunked streams without data lossMarcus Cobden2014-12-161-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Data already in local python buffers was lost when stream socket fileobject was re-created. We now use http.client to handle the chunk transfer encoding, and we read only the data from each chunk. This adds a test harness for stream responses which tries to trigger the lost-buffer behaviour by responding to the HTTP request in full, as early as possible. NB: Python's http.client will close the socket fileobj early if there is no content length or chunked transfer encoding header. If this happens, requests/urllib3 will reopen it, but we lose some data which was stored in buffers.
* | Re-added integration tests with hostconfig in startJoffrey F2014-12-171-3/+162
| |
* | Re-added start with hostconfig testsJoffrey F2014-12-171-1/+241
| |
* | Fixed start_container testsJoffrey F2014-12-171-16/+6
| |
* | assertEquals -> assertEqualJoffrey F2014-12-171-5/+5
| |
* | Updated integration tests to use new host_config paramJoffrey F2014-12-171-37/+52
| |
* | Updated unit testsJoffrey F2014-12-171-204/+221
| | | | | | | | | | * Warnings will now raise exceptions in unit tests * Updated several tests to use host_config
* | Updated mock API versionJoffrey F2014-12-171-1/+1
| |
* | Merge pull request #429 from dims/masterJoffrey F2014-12-171-4/+4
|\ \ | |/ |/| Devices should be separated by colon separated string
| * Devices should be separated by colon separated stringDavanum Srinivas2014-12-171-4/+4
| | | | | | | | | | | | Totally bad test :( (written by me). The documentation and code should match now. Many thanks to pranavs18 for spotting the error and proposing the fix.
* | Merge pull request #423 from docker/0.6.0-integrationJoffrey F2014-12-151-20/+15
|\ \ | | | | | | Fixed integration tests
| * | Don't use old test image (deprecated ID scheme)0.6.0-integrationJoffrey F2014-12-151-14/+8
| | |
| * | Better pull confirmationJoffrey F2014-12-151-8/+6
| | |