@@ -0,0 +1,790 @@
+import pytest%0A%0Afrom eventum.lib.text import clean_markdown%0A%0A%0A@pytest.mark.parametrize(%5B%22markdown%22, %22output%22%5D, %5B%0A    ('**Bold** text is unbolded.', 'Bold text is unbolded.'),%0A    ('So is *underlined* text.', 'So is underlined text.'),%0A    ('An %5B%5D(http://empty-link).', 'An.'),%0A    ('A %5Btest%5D(https://adicu.com)', 'A test (https://adicu.com)'),%0A    ('A %5Btest%5D(http://adicu.com)', 'A test (http://adicu.com)'),%0A    ('A %5Btest%5D(garbage) passes.', 'A test passes.'),%0A    ('An !%5Bimage%5D(http://anything) gets removed.', 'An gets removed.'),%0A    ('An !%5Bimage%5D(garbage), %5Blink%5D(http://adicu.com), and an '%0A     '%5B!%5Bimage in a link%5D(imgurl)%5D(http://adicu.com).',%0A     'An, link (http://adicu.com), and an.'),%0A%5D)%0Adef test_clean_markdown(markdown, output):%0A    assert clean_markdown(markdown) == output%0A

Add test_text.py