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

        with model_oo_parent_data(self.appbuilder.session, 2):
            rv = self.auth_client_get(client, token, "api/v1/modeldottedooparentapi/")
            data = json.loads(rv.data.decode("utf-8"))
            self.assertEqual(rv.status_code, 200)
            self.assertEqual(data["count"], 2)
            expected_rel_field = {"field_string": "text0.child"}
            self.assertEqual(data[API_RESULT_RES_KEY][0]["child"], expected_rel_field)

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