@mock.patch('betdaq.endpoints.account.Account.process_response')
@mock.patch('betdaq.endpoints.account.Account.request', return_value=mock.Mock())
def test_get_account_transactions(self, mock_request, mock_process_response):
    self.account.get_account_transactions(StartTime=datetime.datetime(2017, 1, 1).timestamp(), EndTime=datetime.datetime(2017, 1, 10).timestamp())
    mock_request.assert_called_once_with('ListAccountPostings', {'StartTime': 1483228800.0, 'EndTime': 1484006400.0}, secure=True)
    assert (mock_process_response.call_count == 1)
@mock.patch('betdaq.endpoints.account.Account.process_response')
@mock.patch('betdaq.endpoints.account.Account.request', return_value=mock.Mock())
def test_get_account_transactions(self, mock_request, mock_process_response):
    self.account.get_account_transactions(StartTime=datetime.datetime(2017, 1, 1).timestamp(), EndTime=datetime.datetime(2017, 1, 10).timestamp())
    mock_request.assert_called_once_with('ListAccountPostings', {'StartTime': 1483228800.0, 'EndTime': 1484006400.0}, secure=True)
    assert (mock_process_response.call_count == 1)