refactor: replace's Selector inpt (text/body) with 1 argument called content

This commit is contained in:
Karim shoair
2025-07-29 06:08:15 +03:00
parent 9e9ba9ab10
commit b9c7a5af2e
5 changed files with 30 additions and 42 deletions
+1 -4
View File
@@ -173,10 +173,7 @@ class TestErrorHandling:
_ = Selector(root="ayo", adaptive=False)
with pytest.raises(TypeError):
_ = Selector(text=1, adaptive=False)
with pytest.raises(TypeError):
_ = Selector(body=1, adaptive=False)
_ = Selector(content=1, adaptive=False)
def test_invalid_storage(self, page, html_content):
"""Test invalid storage parameter"""