def test_get_list_dotted_mo_field(self):
        """
        REST Api: Test get list with dotted M-O related field
        """
        client = self.app.test_client()
        token = self.login(client, USERNAME_ADMIN, PASSWORD_ADMIN)

        arguments = {"order_column": "field_string", "order_direction": "asc"}
        uri = (
            f"api/v1/model2dottednotationapi/?"
            f"{API_URI_RIS_KEY}={prison.dumps(arguments)}"
        )
        with model2_data(self.appbuilder.session, MODEL2_DATA_SIZE):
            rv = self.auth_client_get(client, token, uri)
            data = json.loads(rv.data.decode("utf-8"))
            # Tests count property
            self.assertEqual(data["count"], MODEL2_DATA_SIZE)
            # Tests data result default page size
            self.assertEqual(len(data[API_RESULT_RES_KEY]), self.model1api.page_size)
            self.assertEqual(
                data[API_RESULT_RES_KEY][0],
                {"field_string": "test0", "group": {"field_string": "test0"}},
            )

        REST Api: Test get list with dotted M-O related field
        
tests/test_api.py