From 2e152315b7e7e967cd3f4f9d6b9c3da2b1f3a433 Mon Sep 17 00:00:00 2001 From: Ashwin Nair Date: Tue, 31 May 2022 00:34:46 +0400 Subject: [PATCH] Modify test per python-poetry/poetry#5450 --- tests/console/commands/self/test_add_plugins.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/console/commands/self/test_add_plugins.py b/tests/console/commands/self/test_add_plugins.py index 032425be4cd..e8447a32b13 100644 --- a/tests/console/commands/self/test_add_plugins.py +++ b/tests/console/commands/self/test_add_plugins.py @@ -151,17 +151,14 @@ def test_add_with_git_constraint_with_extras( def test_add_with_git_constraint_with_subdirectory( url: str, rev: str | None, - app: PoetryTestApplication, - repo: TestRepository, tester: CommandTester, - env: MockEnv, - installed: Repository, + repo: TestRepository, ): repo.add_package(Package("pendulum", "2.0.5")) tester.execute(url) - expected = """\ + expected = """ Updating dependencies Resolving dependencies... @@ -183,8 +180,6 @@ def test_add_with_git_constraint_with_subdirectory( assert_plugin_add_result( tester, - app, - env, expected, constraint, )