Python Testing with pytest, Second Edition:

Title: Python Testing with pytest, Second Edition page 120

$ cd /path/to/code
$ pytest --cov=cards ch7
Doesn’t seem to work, ch7 folder is empty and pytest gives a error:

collected 0 items
Coverage.py warning: Module cards was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)

With regards

RIchard