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