Commit Graph

4 Commits

Author SHA1 Message Date
vvzvlad 577093b9fa test(postparser): use StrWithHtml for Pyrogram text/caption mocks
Replace MagicMock based text/caption mocks with a lightweight StrWithHtml
subclass that provides the required `.html` property while behaving like a
regular string. This fixes length and strip checks in the parser and
simplifies test setup. Also adds default proxy settings to mock_config for
test completeness.
2026-05-18 00:15:53 +03:00
vvzvlad e9949a7eab update pylint configurations in test 2025-04-26 02:34:08 +04:00
vvzvlad 58253e15e0 add test for get_all_possible_flags 2025-04-26 02:31:16 +04:00
vvzvlad 77132eebb9 tests refactoring 2025-04-16 03:05:55 +03:00