def test_account__create_from_stripe_object(
        self,
        mock_account_id,
        other_mock_account_id,
        expected_stripe_account,
        platform_account_fixture,
        configure_settings,
    ):
        """Ensure that we are setting the ID value correctly."""
        mock_data = {"id": mock_account_id}
        with patch(
            "djstripe.models.connect.StripeModel._create_from_stripe_object"
        ) as mock_super__create_from_stripe_object:
            Account._create_from_stripe_object(
                data=mock_data,
                stripe_account=other_mock_account_id,
                api_key=settings.STRIPE_SECRET_KEY,
            )

        mock_super__create_from_stripe_object.assert_called_once_with(
            data=mock_data,
            current_ids=None,
            pending_relations=None,
            save=True,
            stripe_account=expected_stripe_account,
            api_key=settings.STRIPE_SECRET_KEY,
        )
Ensure that we are setting the ID value correctly.
tests/test_account.py