Skip to content

Commit

Permalink
Modify test per python-poetry#5450
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnair1 committed May 30, 2022
1 parent 97e594b commit 2e15231
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/console/commands/self/test_add_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand All @@ -183,8 +180,6 @@ def test_add_with_git_constraint_with_subdirectory(

assert_plugin_add_result(
tester,
app,
env,
expected,
constraint,
)
Expand Down

0 comments on commit 2e15231

Please sign in to comment.