diff options
| author | stuppie | 2026-08-21 11:10:06 -0600 |
|---|---|---|
| committer | stuppie | 2026-08-21 11:10:06 -0600 |
| commit | ad11f6dcdaba6f01355cb54fd39ab65d1f781d0b (patch) | |
| tree | 8659988703d5f88ba5a3da2b30b83163503b8910 /test_utils | |
| parent | 65e06b343ed8ea55c526b7a8f6582e63bdab6f97 (diff) | |
| download | generalresearch-ad11f6dcdaba6f01355cb54fd39ab65d1f781d0b.tar.gz generalresearch-ad11f6dcdaba6f01355cb54fd39ab65d1f781d0b.zip | |
put back a dummy create_bp_payout_event method so I dont break all these tests
Diffstat (limited to 'test_utils')
| -rw-r--r-- | test_utils/models/conftest.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test_utils/models/conftest.py b/test_utils/models/conftest.py index 64bdec6..6a8e4cf 100644 --- a/test_utils/models/conftest.py +++ b/test_utils/models/conftest.py @@ -390,8 +390,6 @@ def bp_payout_factory( amount: Optional["USDCent"] = None, ext_ref_id: Optional[str] = None, created: Optional[AwareDatetime] = None, - skip_wallet_balance_check: bool = False, - skip_one_per_day_check: bool = False, ) -> "BrokerageProductPayoutEvent": from generalresearch.currency import USDCent @@ -402,10 +400,8 @@ def bp_payout_factory( thl_ledger_manager=thl_lm, product=product, amount=amount, - ext_ref_id=ext_ref_id, + ext_ref_id=ext_ref_id or uuid4().hex, created=created, - skip_wallet_balance_check=skip_wallet_balance_check, - skip_one_per_day_check=skip_one_per_day_check, ) return _inner |
