Skip to content

Commit f1693bb

Browse files
authored
Remove old comments; uncomment a test (#54)
1 parent 9e408bd commit f1693bb

3 files changed

Lines changed: 5 additions & 10 deletions

File tree

dydx3/helpers/request_helpers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ def json_stringify(data):
2323

2424

2525
def 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

integration_tests/test_integration.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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'],

tests/test_public.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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 != {}

0 commit comments

Comments
 (0)