diff --git a/tests/unit/test_nox_poetry.py b/tests/unit/test_nox_poetry.py index 701ad528..eb73ee0e 100644 --- a/tests/unit/test_nox_poetry.py +++ b/tests/unit/test_nox_poetry.py @@ -1,12 +1,16 @@ """Unit tests.""" +import pytest from nox.sessions import Session import nox_poetry -def test_install(session: Session) -> None: +@pytest.mark.parametrize("distribution_format", [nox_poetry.WHEEL, nox_poetry.SDIST]) +def test_install( + session: Session, distribution_format: nox_poetry.DistributionFormat +) -> None: """It installs the dependencies.""" - nox_poetry.install(session, nox_poetry.WHEEL, "pip") + nox_poetry.install(session, distribution_format, "pip") def test_export_requirements(session: Session) -> None: