feat: X-Redirect pages
This commit is contained in:
@@ -15,3 +15,9 @@ class TestPage(BaseTestCase):
|
||||
str(Page("test_1", with_index=True, host="example.com")),
|
||||
"/test_1/ [example.com]",
|
||||
)
|
||||
|
||||
def test_repr_with_redirect(self) -> None:
|
||||
self.assertEqual(
|
||||
str(Page("test_1", redirect="https://example.com")),
|
||||
"/test_1/ (redirect: https://example.com)",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user