feat(plan): REST task routes — kind on create + list
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import inspect
|
||||
|
||||
|
||||
def test_create_note_accepts_task_kind():
|
||||
from fabledassistant.services.notes import create_note
|
||||
assert "task_kind" in inspect.signature(create_note).parameters
|
||||
|
||||
|
||||
def test_list_notes_accepts_task_kind():
|
||||
from fabledassistant.services.notes import list_notes
|
||||
assert "task_kind" in inspect.signature(list_notes).parameters
|
||||
|
||||
|
||||
def test_tasks_blueprint_registered_in_app():
|
||||
from fabledassistant.app import create_app
|
||||
app = create_app()
|
||||
assert "tasks" in app.blueprints
|
||||
Reference in New Issue
Block a user