Skip to content

wwcodekl/itp-w3-dictionary-practice

 
 

Repository files navigation

Dictionary Practice

Each assignment under assignment_1, assignment_2, assignment_3 and assignment_4 contains detailed instructions. This readme contains a summary of how to run the tests.

Running tests

(make sure the virtual environment is active before running tests)

Running all tests
(my-virtualenv) $ py.test assignment_1/tests.py

image

Running a single test function
(my-virtualenv) $ py.test assignment_1/tests.py -k default_price

image

Controlling test output

You can control the way errors are shown with the --tb argument. For example, for shorter error details:

(my-virtualenv) $ py.test assignment_1/tests.py --tb=short 

image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%