pyo3/examples/setuptools-rust-starter/tests/test_submodule.py
2021-04-03 11:59:41 +01:00

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!"