pyo3/examples/setuptools-rust-starter/tests/test_submodule.py

7 lines
195 B
Python

from setuptools_rust_starter.submodule import SubmoduleClass
def test_submodule_class() -> None:
submodule_class = SubmoduleClass()
assert submodule_class.greeting() == "Hello, world!"