18 lines
509 B
Python
18 lines
509 B
Python
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
|