docker-py/tests
Sebastiaan van Stijn 26d8045ffa Fix CreateContainerTest.test_invalid_log_driver_raises_exception
This test was updated in 7d92fbdee1, but
omitted the "error" prefix in the message, causing the test to fail;

    _________ CreateContainerTest.test_invalid_log_driver_raises_exception _________
    tests/integration/api_container_test.py:293: in test_invalid_log_driver_raises_exception
        assert excinfo.value.explanation in expected_msgs
    E   AssertionError: assert 'error looking up logging plugin asdf: plugin "asdf" not found' in ["logger: no log driver named 'asdf' is registered", 'looking up logging plugin asdf: plugin "asdf" not found']
    E    +  where 'error looking up logging plugin asdf: plugin "asdf" not found' = APIError(HTTPError('400 Client Error: Bad Request for url: http+docker://localhost/v1.39/containers/create')).explanation
    E    +    where APIError(HTTPError('400 Client Error: Bad Request for url: http+docker://localhost/v1.39/containers/create')) = <ExceptionInfo APIError tblen=6>.value

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-17 15:59:12 +02:00
..
gpg-keys Make dockerpycreds part of the SDK under docker.credentials 2019-04-30 23:37:55 -07:00
integration Fix CreateContainerTest.test_invalid_log_driver_raises_exception 2020-07-17 15:59:12 +02:00
unit Merge pull request #2551 from haboustak/2550-add-driveropts-to-endpointconfig 2020-07-02 10:51:35 +02:00
Dockerfile Merge pull request #2383 from thaJeztah/support_mirrors 2019-08-27 00:16:00 -07:00
Dockerfile-dind-certs Update to python 3.7 (buster) and use build-args 2019-07-15 13:27:07 +02:00
__init__.py Create tests module for setuptools test support 2013-07-13 01:07:04 -05:00
helpers.py Reorder imports 2019-05-01 00:35:12 -07:00