How to Use Pytest to Debug/Test Python Code