We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a856866 commit 3c49a2cCopy full SHA for 3c49a2c
1 file changed
coinbase/mock.py
@@ -113,10 +113,12 @@ def get_transaction(self, transaction_id):
113
return self._transactions[transaction_id]
114
115
def get_user_details(self):
116
- raise NotImplementedError # todo
+ # todo - this could be mocked better
117
+ return CoinbaseUser(email='test@example.com')
118
119
def generate_receive_address(self, callback_url=None):
120
121
+ return '1DzkRzSUqm8jGhT8wp7E8XNMcr9J3nT3SX'
122
123
def create_button(self, button, account_id=None):
124
id = random_button_id()
0 commit comments