WIP: stage all uncommitted work — sprints 46-221, graduation headers, specialist fleet, test steps 909-1988
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
8
example_projects/py_cli_todo/tests/test_todo.py
Normal file
8
example_projects/py_cli_todo/tests/test_todo.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from src.todo import add_task, complete_task
|
||||
|
||||
|
||||
def test_add_and_complete():
|
||||
tasks = []
|
||||
add_task(tasks, "pay bills")
|
||||
complete_task(tasks, 0)
|
||||
assert tasks[0]["done"] is True
|
||||
Reference in New Issue
Block a user