summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* rename() tests and docsrename_containerJoffrey F2015-02-103-1/+35
|
* 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
| | |
| * | Longer timeout when contacting hubJoffrey F2014-12-151-0/+3
| | |
* | | Allow for pull as an option to docker buildDerek Hammer2014-12-131-0/+14
| |/ |/| | | | | Signed-off-by: Derek Hammer <derek.r.hammer@gmail.com>
* | Enforce passing string as version param in ctor393-enforce-str-versionJoffrey F2014-11-261-0/+11
|/
* Fixed integration testJoffrey F2014-11-031-0/+2
|
* Changed assertIn to assertTrue(... in ...) (2.6 support)Joffrey F2014-11-031-3/+3
|
* Merge branch 'filters' of github.com:irachex/docker-py into irachex-filtersJoffrey F2014-11-032-6/+32
|\ | | | | | | | | | | | | Conflicts: docker/utils/__init__.py docker/utils/utils.py tests/utils_test.py
| * Add support for filtering images and containersHuayi Zhang2014-10-052-1/+28
| | | | | | | | | | | | | | [`filters` is a json encoded value of the filters (a map[string][string]) to process on the images list. ][1] The tricky thing is that we must convert boolean value to string and any filter value to list to make a `map[string][string]` json format [1]: https://docs.docker.com/reference/api/docker_remote_api_v1.14/#list-images
* | Merge branch 'feature_logs-tail' of github.com:totem/docker-py into ↵Joffrey F2014-10-302-0/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | totem-feature_logs-tail Conflicts: docker/client.py tests/fake_api.py
| * | Add support for tailing logs (introduced in API : v1.13)sukrit0072014-08-223-1/+31
| | | | | | | | | | | | Updated default version to v1.13
* | | Merge pull request #379 from tutumcloud/logs_tailJoffrey F2014-10-301-3/+6
|\ \ \ | | | | | | | | Added tail behaviour to logs command, same as CLI v1.3 (latest)
| * | | Added tail behaviour to logs command, same as CLI v1.3 (latest)Alberto2014-10-271-3/+6
| | |/ | |/|
* | | Merge pull request #324 from infoxchange/clear-unixconn-poolJoffrey F2014-10-302-0/+26
|\ \ \ | | | | | | | | Clear UNIX connections pool to avoid ResourceWarnings
| * | | Test resource warnings when using the clientAlexey Kotlyarov2014-09-222-0/+26
| |/ /
* | | Merge pull request #360 from proppy/kwargs-from-envJoffrey F2014-10-294-1/+31
|\ \ \ | | | | | | | | utils: add kwargs_from_env
| * | | utils: add kwargs_from_envJohan Euphrosine2014-10-294-1/+31
| | | |
* | | | Merge branch 'pause-unpause' of github.com:phensley/docker-py into ↵Joffrey F2014-10-293-0/+63
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | phensley-pause-unpause Conflicts: README.md tests/integration_test.py tests/test.py
| * | | Unit and integration tests for pause/unpause.Patrick Hensley2014-10-043-0/+67
| |/ /