From 767dc7f6954a66e187e5eefc36c21868048e04fc Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Thu, 12 Nov 2020 22:38:08 +0300 Subject: add tests i've found some issues with formatted text, this could be seen in output (which is not included now). there are some complications with parsing newline characters, but i'll fix it later. also script is now usable like command-line application. you can specify the directory in which source files are located. to make some tests you need to run $ python parse.py tests this will create directory tests/formatted_posts, where markdown posts will be populated. if directory is not specified, it assumes that script is in the source folder. if needed json file could not be found, it exits with code 1. --- tests/voice_messages/audio_1@12-11-2020_13-01-05.ogg | Bin 0 -> 19338 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/voice_messages/audio_1@12-11-2020_13-01-05.ogg (limited to 'tests/voice_messages') diff --git a/tests/voice_messages/audio_1@12-11-2020_13-01-05.ogg b/tests/voice_messages/audio_1@12-11-2020_13-01-05.ogg new file mode 100644 index 0000000..ffa2fd0 Binary files /dev/null and b/tests/voice_messages/audio_1@12-11-2020_13-01-05.ogg differ -- cgit v1.2.3