File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ def json_stringify(data):
2323
2424
2525def random_client_id ():
26- # TODO: Backend should treat client ID as a string, not a number.
27- # NOTE: For now, need to make sure to remove leading zeros.
2826 return str (int (float (str (random .random ())[2 :])))
2927
3028
Original file line number Diff line number Diff line change @@ -342,9 +342,7 @@ def test_integration(self):
342342 get_api_keys_result_after = client .private .get_api_keys ()
343343 assert len (get_api_keys_result_after ['apiKeys' ]) == 1
344344
345- # TODO: Uncomment when the fast withdrawal endpoint works.
346- #
347- # # Initiate a fast withdrawal of USDC.
345+ # Initiate a fast withdrawal of USDC.
348346 expiration_epoch_seconds = time .time () + SEVEN_DAYS_S + 60
349347 client .private .create_fast_withdrawal (
350348 position_id = account ['positionId' ],
Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ def test_get_candles(self):
5555 json = public .get_candles (MARKET_BTC_USD )
5656 assert json != {}
5757
58- # TODO
59- # def test_get_fast_withdrawal(self):
60- # public = Client(API_HOST).public
61- # json = public.get_fast_withdrawal()
62- # assert json != {}
58+ def test_get_fast_withdrawal (self ):
59+ public = Client (API_HOST ).public
60+ json = public .get_fast_withdrawal ()
61+ assert json != {}
You can’t perform that action at this time.
0 commit comments