This directory contains two Python examples:
helloworld.py: the simplest console examplehelloworld2.py: a slightly more structured example using a singleton metaclass and a decoratorIt also includes test_helloworld.py, which is discoverable through standard unittest discovery.
helloworld.pyhelloworld2.pyhellotest.pytest_helloworld.pyhellotest.py is kept for backwards compatibility. test_helloworld.py is the canonical test entry point.
From the repository root:
python python/helloworld.py
python python/helloworld2.py
python -m unittest discover -s python -p "test*.py" -v
Or from inside python/:
python helloworld.py
python helloworld2.py
python -m unittest discover -p "test*.py" -v
unittesthelloworld*.py in this directory.