Refactor test files to disable pylint warnings and ensure proper formatting
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# pylint: disable=protected-access, wrong-import-position
|
||||
|
||||
import unittest
|
||||
from unittest.mock import MagicMock, PropertyMock, patch
|
||||
import re
|
||||
from unittest.mock import MagicMock, PropertyMock
|
||||
import sys
|
||||
import os
|
||||
# Add project root to sys.path to find post_parser
|
||||
@@ -268,4 +269,4 @@ class TestPostParserGenerateTitle(unittest.TestCase):
|
||||
self.assertEqual(title, expected_output, f"Ошибка при обработке '{input_text}': получено '{title}', ожидалось '{expected_output}'")
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user