From 341630dcc9cd8091e29bcc420efaed754e2b781a Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Thu, 10 Oct 2024 11:46:24 +0200 Subject: [PATCH] Format all --- test/test_integration_api_to_formatter.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/test_integration_api_to_formatter.py diff --git a/test/test_integration_api_to_formatter.py b/test/test_integration_api_to_formatter.py new file mode 100644 index 0000000..474985f --- /dev/null +++ b/test/test_integration_api_to_formatter.py @@ -0,0 +1,12 @@ +from favro_sync.favro_client import SeqId +from favro_sync.favro_fuse import to_card_contents +from favro_sync.favro_markdown import CardFileFormatter + +from .test_client import create_client, needs_secrets + +@needs_secrets +def test_format_all_cards(): + client = create_client() + for card in client.get_cards(todo_list=True): + contents = to_card_contents(card, client) + assert contents is not None