async def test_links_cleaning(self):
        """Test cleaning of links and URLs, i.e. https?:// is removed."""
        test_cases = {
            "Please check http://example.com": "Please check example.com",
            "Visit https://www.google.com for more": "Visit www.google.com for more",
            "No link here": "No link here",  # No link to clean
        }

        for input_text, expected in test_cases.items():
            result = await self.filter.filter(input_text)
            self.assertEqual(result, expected, f"Link cleaning failed for: '{input_text}'")
Test cleaning of links and URLs, i.e. https?:// is removed.
tests/test_markdown_text_filter.py