uv/scripts/packages/built-by-uv/tests/test_package.py
konsti 3a7db17147
Build backend: Add source tree -> source dist -> wheel tests (#9091)
A first milestone: source tree -> source dist -> wheel -> install works.
This PR adds a test for this.

There's obviously a lot still missing, including basics such as the
Readme inclusion.
2024-11-14 19:15:32 +00:00

11 lines
213 B
Python

import pytest
from built_by_uv import greet
from built_by_uv.arithmetic.circle import area
def test_circle():
assert area(2) == pytest.approx(12.56636)
def test_greet():
assert greet() == "Hello 👋"