Skip to content

Commit 2e15231

Browse files
committed
Modify test per python-poetry#5450
1 parent 97e594b commit 2e15231

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/console/commands/self/test_add_plugins.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,14 @@ def test_add_with_git_constraint_with_extras(
151151
def test_add_with_git_constraint_with_subdirectory(
152152
url: str,
153153
rev: str | None,
154-
app: PoetryTestApplication,
155-
repo: TestRepository,
156154
tester: CommandTester,
157-
env: MockEnv,
158-
installed: Repository,
155+
repo: TestRepository,
159156
):
160157
repo.add_package(Package("pendulum", "2.0.5"))
161158

162159
tester.execute(url)
163160

164-
expected = """\
161+
expected = """
165162
Updating dependencies
166163
Resolving dependencies...
167164
@@ -183,8 +180,6 @@ def test_add_with_git_constraint_with_subdirectory(
183180

184181
assert_plugin_add_result(
185182
tester,
186-
app,
187-
env,
188183
expected,
189184
constraint,
190185
)

0 commit comments

Comments
 (0)