code: def test_save_as_preservation(self):
      settings = get_settings()
      # fix up pagination rules
      from pelican.paginator import PaginationRule
  
      pagination_rules = [
          PaginationRule(*r)
          for r in settings.get(
              "PAGINATION_PATTERNS",
              DEFAULT_CONFIG["PAGINATION_PATTERNS"],
          )
      ]
      settings["PAGINATION_PATTERNS"] = sorted(
          pagination_rules,
          key=lambda r: r[0],
      )
  
      self.page_kwargs["metadata"]["author"] = Author(
          "Blogger", settings
      )
      object_list = [
          Article(**self.page_kwargs),
          Article(**self.page_kwargs),
      ]
      paginator = Paginator(
          "foobar.foo", "foobar/foo", object_list, settings
      )
      page = paginator.page(1)
      self.assertEqual(page.save_as, "foobar.foo")
  
file_path: pelican/pelican/tests/test_paginator.py
imports: import locale
  from jinja2.utils import generate_lorem_ipsum
  from pelican.contents import Article, Author
  from pelican.paginator import Paginator
  from pelican.settings import DEFAULT_CONFIG
  from pelican.tests.support import get_settings, unittest
label_desc: Use image node_id 3 for calling the TestPage obj's underlying member method code with example usage: obj.test_save_as_preservation() without return types