Skip to content

Commit 8edffd1

Browse files
committed
Update the mock.
1 parent 563cc80 commit 8edffd1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

coinbase/mock.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def __init__(self):
3333
self._orders_by_custom = {} # button custom string -> CoinbaseOrder.id
3434

3535
self.authenticated = True
36+
self.auth = None
3637
self.allow_transfers = True
3738

3839
self.balance = CoinbaseAmount('0', 'BTC')
@@ -44,9 +45,6 @@ def __init__(self):
4445

4546
self.mock = MockControl(account=self)
4647

47-
def refresh_oauth(self):
48-
pass
49-
5048
def get_exchange_rate(self, from_currency, to_currency):
5149
return self.exchange_rates['{}_to_{}'.format(
5250
from_currency.lower(),

0 commit comments

Comments
 (0)