class_docstr: Implements shared tests for owners related field
class_docstr_tok: ["Implements","shared","tests","for","owners","related","field"]
docstr: API: Test get related owners with pagination returns 422
docstr_tok: ["API",":","Test","get","related","owners","with","pagination","returns","422"]
code: def test_get_ids_related_owners_paginated(self):
      """
      API: Test get related owners with pagination returns 422
      """
      self.login(username="admin")
      argument = {"page": 1, "page_size": 1, "include_ids": [2]}
      uri = f"api/v1/{self.resource_name}/related/owners?q={prison.dumps(argument)}"
      rv = self.client.get(uri)
      assert rv.status_code == 422
  
imports: import json
  from unittest.mock import patch
  from tests.integration_tests.fixtures.world_bank_dashboard import load_world_bank_dashboard_with_slices, load_world_bank_data
  import pytest
  from flask_appbuilder.models.sqla.interface import SQLAInterface
  import prison
  import tests.integration_tests.test_app
  from superset import db, security_manager
  from superset.extensions import appbuilder
  from superset.models.dashboard import Dashboard
  from superset.views.base_api import BaseSupersetModelRestApi, requires_json
  from .base_tests import SupersetTestCase
  from .conftest import with_config
label_desc: Use image node_id 4 for calling the ApiOwnersTestCaseMixin obj's underlying member method code with example usage: obj.test_get_ids_related_owners_paginated() without return types