Date: Tuesday, September 1, 2020 @ 12:31:36 Author: yan12125 Revision: 695468
python-moto: exclude more tests using Docker Newly excluded tests did not fail before as docker.from_env() did not try to connect to the docker daemon until python-docker 4.3.1 [1] [1] https://github.com/docker/docker-py/pull/2650 Modified: python-moto/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-09-01 12:31:27 UTC (rev 695467) +++ PKGBUILD 2020-09-01 12:31:36 UTC (rev 695468) @@ -58,8 +58,15 @@ check() { cd $_pkgname-$pkgver - # test_lambda tests moto.awslambda, which requires a running docker.service - TZ=UTC nosetests -sv ./tests/ --exclude='test_lambda.*' + # * test_lambda tests moto.awslambda, which requires a running docker.service + # * test_submit_job_by_name calls batch_client.submit_job, and the latter + # creates a Job object, which requires docker + # * In test_create_stack_lambda_and_dynamodb, the CloudFormation template + # contain AWS::Lambda resources and thus uses moto.awslambda + TZ=UTC nosetests -sv ./tests/ \ + --exclude='test_lambda' \ + --exclude='test_submit_job_by_name' \ + --exclude='test_create_stack_lambda_and_dynamodb' } package() {
