def test_account_str(
        self,
        business_profile_update,
        settings_dashboard_update,
        expected_account_str,
        platform_account_fixture,
        configure_settings,
    ):
        """Ensure Account model's string representation is as expected."""
        account = Account.get_default_account(api_key=settings.STRIPE_SECRET_KEY)
        account.business_profile = business_profile_update
        account.settings["dashboard"] = settings_dashboard_update
        account.save()
        account.refresh_from_db()
        assert str(account) == expected_account_str
Ensure Account model's string representation is as expected.
tests/test_account.py