Create a new project by poetry new add-two-numbers Add a depenedency to the project poetry add pytest --dev Now run the tests poetry run pytest