tests: fix CLI tests according to last changes

This commit is contained in:
Karim shoair
2025-09-19 23:17:54 +03:00
parent 0ee3f93227
commit 386da62ec9
+1
View File
@@ -14,6 +14,7 @@ def configure_selector_mock():
"""Helper function to create a properly configured Selector mock"""
mock_response = MagicMock(spec=Selector)
mock_response.body = "<html><body>Test content</body></html>"
mock_response.html_content = "<html><body>Test content</body></html>"
mock_response.encoding = "utf-8"
mock_response.get_all_text.return_value = "Test content"
mock_response.css_first.return_value = mock_response