Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Python Function and Test Examples

Small Python module with a pytest test suite.

How it works

sample.py defines a default greeting, a personalised greeting and a formatted sum. test_sample.py checks the returned strings using assertions.

Usage

Requires Python. Install pytest, then run the tests from the repository root:

python -m pip install pytest
python -m pytest

Notes

The module has no command-line entry point, server or external service dependencies.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages