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

        with model_mm_parent_data(self.appbuilder.session, 1, 4) as models:
            model_id = models[0].id
            rv = self.auth_client_get(
                client, token, f"api/v1/modeldottedmmapi/{model_id}"
            )
            data = json.loads(rv.data.decode("utf-8"))
            self.assertEqual(rv.status_code, 200)
            expected_result = {
                "field_string": "0",
                "children": [
                    {"field_integer": 1},
                    {"field_integer": 2},
                    {"field_integer": 3},
                ],
            }
            self.assertEqual(data[API_RESULT_RES_KEY], expected_result)

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