Skip to content

GeniusPlaza/python-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple python test playground.

To run all tests, call

python -m unittest discover -p '*_test.py'

This is a very simple console program that uses a function wrapped inside a decorator. The tests focus on showing how we can mock a decorator.

This program requires at least Python 3.7.

Use the program.

# The only allowed names are 'Juan', 'Joseph' and 'Kalyan'.
# All other names will raise an exception.
python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages