def METHOD_NAME(
    tester: CommandTester,
    repo: TestRepository,
) -> None:
    repo.add_package(Package("pendulum", "2.0.5"))
    repo.add_package(Package("tomlkit", "0.7.0"))
    tester.execute("git+https://github.com/demo/poetry-plugin.git[foo]")
    expected = """