🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Project 28: Dashboard Sidebar

Python Challenge
Step 1 of 3
Project

Measuring Test Coverage

Add a comment showing pytest --cov=sidebar tests/ — it reports what percentage of sidebar.py's lines actually ran during the test suite. High coverage doesn't guarantee correctness, but a LOW number reliably tells you where nothing is tested at all yet.

🎯 Your Task

Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!

# pytest --cov=sidebar tests/ reports what percentage of sidebar.py's lines
# actually ran during the test suite. Low coverage reliably flags untested code;
# high coverage alone doesn't guarantee it's correct.

def get_nav_links():
    return ["Dashboard", "Users", "Orders", "Settings"]

print(get_nav_links())