code: def setUp(self) -> None:
      self.dash = self.get_dash_by_slug("births")
      self.embedded = EmbeddedDashboardDAO.upsert(self.dash, [])
      self.authorized_guest = (
          security_manager.get_guest_user_from_token(
              {
                  "user": {},
                  "resources": [
                      {
                          "type": "dashboard",
                          "id": str(self.embedded.uuid),
                      }
                  ],
              }
          )
      )
      self.unauthorized_guest = (
          security_manager.get_guest_user_from_token(
              {
                  "user": {},
                  "resources": [
                      {
                          "type": "dashboard",
                          "id": "06383667-3e02-4e5e-843f-44e9c5896b6c",
                      }
                  ],
              }
          )
      )
  
imports: import json
  from unittest.mock import Mock, patch
  import pytest
  from flask import g
  from superset import db, security_manager
  from superset.connectors.sqla.models import SqlaTable
  from superset.daos.dashboard import EmbeddedDashboardDAO
  from superset.exceptions import SupersetSecurityException
  from superset.models.dashboard import Dashboard
  from superset.security.guest_token import GuestTokenResourceType
  from superset.sql_parse import Table
  from superset.utils.core import get_example_default_schema
  from superset.utils.database import get_example_database
  from tests.integration_tests.base_tests import SupersetTestCase
  from tests.integration_tests.fixtures.birth_names_dashboard import load_birth_names_dashboard_with_slices_class_scope, load_birth_names_data
  from tests.integration_tests.fixtures.world_bank_dashboard import load_world_bank_dashboard_with_slices, load_world_bank_dashboard_with_slices_class_scope, load_world_bank_data
label_desc: Use image node_id 1 for calling the TestGuestUserDashboardAccess obj's underlying member method code with example usage: obj.setUp() without return types