Skip to content

Commit

Permalink
added payment_option field to unit test executeTrade
Browse files Browse the repository at this point in the history
  • Loading branch information
floshodan authored and peshay committed Aug 3, 2024
1 parent f62c2f4 commit 08e7d8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_btcde_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ def test_executeTrade(self, mock_logger, m):
trading_pair = 'btceur'
order_id = '1337'
params = {'amount_currency_to_trade': '10',
'type': 'buy'}
'payment_option' : 2,
'type': 'buy',
}
base_url = f'https://api.bitcoin.de/v4/{trading_pair}/trades/{order_id}'
url_args = '?' + urlencode(params)
response = self.sampleData('minimal')
Expand Down

0 comments on commit 08e7d8b

Please sign in to comment.