diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-15 21:34:37 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-15 21:34:37 +0000 |
commit | da407288bb9fc771488c3fee13fc2f8561681e66 (patch) | |
tree | f424c3ecbe17ec2f2e75f726f6337bed848b2ccf /app-containers/docker-compose/files | |
parent | dc0ab0fa29dee64ee586cc23ddd306c0ad9ae7dc (diff) |
gentoo auto-resync : 15:12:2022 - 21:34:37
Diffstat (limited to 'app-containers/docker-compose/files')
-rw-r--r-- | app-containers/docker-compose/files/docker-compose-1.29.2-tests-unit-cli-test-py.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-containers/docker-compose/files/docker-compose-1.29.2-tests-unit-cli-test-py.patch b/app-containers/docker-compose/files/docker-compose-1.29.2-tests-unit-cli-test-py.patch new file mode 100644 index 000000000000..0d6cf44c1887 --- /dev/null +++ b/app-containers/docker-compose/files/docker-compose-1.29.2-tests-unit-cli-test-py.patch @@ -0,0 +1,33 @@ +From 988f954a7e185c521e7c0f720684e8a53068b136 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Thu, 15 Dec 2022 18:11:03 +0100 +Subject: [PATCH] tests/unit/cli_test.py: Fix access to + py._path.local.LocalPath + +.. for test CLITestCase.test_default_project_name: + +> class CLITestCase(unittest.TestCase): +> +> def test_default_project_name(self): +> test_dir = py._path.local.LocalPath('tests/fixtures/simple-composefile') +> [..] +--- + tests/unit/cli_test.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/unit/cli_test.py b/tests/unit/cli_test.py +index fa6e767..83ecef8 100644 +--- a/tests/unit/cli_test.py ++++ b/tests/unit/cli_test.py +@@ -4,7 +4,7 @@ import tempfile + from io import StringIO + + import docker +-import py ++import py._path.local + import pytest + from docker.constants import DEFAULT_DOCKER_API_VERSION + +-- +2.39.0 + |