feat: X-Host-Only
This commit is contained in:
@@ -27,3 +27,9 @@ class TestPage(BaseTestCase):
|
||||
str(Page("test_1", proxy="https://example.com")),
|
||||
"/test_1/ (proxy: https://example.com)",
|
||||
)
|
||||
|
||||
def test_repr_with_host_only(self) -> None:
|
||||
self.assertEqual(
|
||||
str(Page("test_1", with_index=True, host_only=True)),
|
||||
"/test_1/ (host only)",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user