Matthias
69cc6aa958
Add test to async
2018-08-14 16:02:03 +02:00
Matthias
88e85e8d33
fix tests - move load_async_markets call to validate_pairs
2018-08-10 13:11:04 +02:00
Matthias
e654b76bc8
Fix async test
2018-08-10 09:44:03 +02:00
misagh
05ca78d2a3
ticker_history changed to candle_history naming
2018-08-02 17:10:38 +02:00
misagh
2ec2f1abce
async branch updated to reflect develop branch changes
2018-08-02 16:48:21 +02:00
creslin
f619cd1d2a
renamed/refactored get_ticker_history to get_candle_history
...
as it does not fetch any ticker data only candles
and is causing confusion when developer are talking about candles /tickers
incorreclty.
OHLCV < candles and Tickers are two seperate datafeeds from the exchange
2018-08-02 08:45:28 +00:00
Matthias
915160f21f
Add tests for tickers-history
2018-08-01 21:44:02 +02:00
Matthias
c466a028e0
Add a first async test
2018-08-01 21:40:54 +02:00
Janne Sinivirta
1044d15b17
Merge pull request #1096 from freqtrade/cleaner-tests
...
Cleaning unit tests, first set
2018-07-31 08:22:33 +03:00
Matthias
5a55cd25ff
Merge branch 'develop' into sandbox2
2018-07-30 20:18:48 +02:00
Janne Sinivirta
f85cc422a3
Merge branch 'develop' into cleaner-tests
2018-07-30 21:08:55 +03:00
creslin
fe27ca63b4
Update test_exchange.py
2018-07-30 17:08:33 +00:00
creslinux
012fe94333
Recommitted as new branch with unit tests - GIT screwd me on the last PR
2018-07-30 16:49:58 +00:00
Janne Sinivirta
8b8d3f3b75
default_conf is function-scoped fixture, no need to deepcopy it
2018-07-30 15:41:02 +03:00
Janne Sinivirta
e242842805
remove more useless docstrings from tests
2018-07-30 12:09:07 +03:00
Janne Sinivirta
f832edf5bc
remove useless docstrings from tests
2018-07-29 17:09:44 +03:00
creslinux
1e804c0df5
flake 8
2018-07-29 08:10:55 +00:00
creslinux
fc06d028b8
Unit tests for sandbox pass / fail scenarios
...
Big Wave of appreciation to xmatthias for the guidence on how
Mocker works
2018-07-29 08:02:04 +00:00
creslinux
0a059662b3
Submitting with unit test for the working scenario.
...
Strongly recommend core team check the unit test is even targetting the
correct code in exchange/__init__.py
I have a real knowledge gap on mocker, in so far as how tests map to
what they're targeting.
2018-07-28 20:32:10 +00:00
Matthias
570d27a0c4
Add testcase where ticker_interval is not in the configuration
2018-07-07 15:30:29 +02:00
Matthias
3f6e9cd28f
Add tests for validate_timeframes
2018-07-07 14:42:53 +02:00
Matthias
af17cef002
fix existing tests to work with validate_timeframes
2018-07-07 14:41:42 +02:00
Janne Sinivirta
bf4d0a9b70
sort imports
2018-07-04 10:31:35 +03:00
xmatthias
c66f858b98
rename innerfun to mock_ccxt_fun
2018-07-01 19:37:55 +02:00
xmatthias
cf6b1a637a
increase exchange code coverage
2018-06-28 22:32:28 +02:00
xmatthias
dcdc18a338
rename test-function
2018-06-28 22:18:38 +02:00
xmatthias
15c7854e7f
add test for exchange_has
2018-06-28 22:11:45 +02:00
xmatthias
fe8a21681e
add test for Not supported
2018-06-28 21:56:37 +02:00
xmatthias
ebbfc720b2
increase test coverage
2018-06-28 21:51:59 +02:00
xmatthias
8ec9a09749
Standardize retrier exception testing
2018-06-28 21:22:43 +02:00
Anton
f82b809fcf
Merge with develop
2018-06-23 16:50:27 +03:00
gcarq
0b3e4f6bcd
remove dead code
2018-06-23 13:50:49 +02:00
xmatthias
896afe7118
convert get_name and get_id to properties
2018-06-18 22:20:50 +02:00
xmatthias
ef53134499
lowercase variables
2018-06-18 22:09:46 +02:00
xmatthias
162f948729
add test for non-configured exchange
2018-06-18 19:56:23 +02:00
xmatthias
ae4c4e77bf
standardize exception tests - add one more
2018-06-18 19:46:42 +02:00
xmatthias
695beecf14
add test for get_markets
2018-06-18 19:36:36 +02:00
xmatthias
520c7feeab
Add test for fetch_tickers
2018-06-17 23:38:07 +02:00
xmatthias
1e3d722bc2
add test for get_trades
2018-06-17 23:38:07 +02:00
xmatthias
c9f8dfc6c5
increase get_fee coverage
2018-06-17 23:38:07 +02:00
xmatthias
d156de39f1
Increase test-coverage
2018-06-17 23:38:07 +02:00
xmatthias
e8ab76f55b
fix small in tests
2018-06-17 23:38:07 +02:00
xmatthias
495f15f13c
fix exchange tests
2018-06-17 23:38:07 +02:00
xmatthias
68f6423d39
fix most tests
2018-06-17 23:38:07 +02:00
xmatthias
7714490530
Test keyerror exception
2018-06-06 21:24:57 +02:00
xmatthias
a901f21bcd
test ticker caching
2018-06-06 20:24:47 +02:00
Gerald Lonlas
c9e49ed7b4
Sort ticker_history
...
CCXT does not sort the ticker history from exchanges.
Bittrex and Binance are sorted ASC (oldest first, newest last) when
GDAX is sorted DESC (newest first, oldest last).
Because of that the get_ticker_history() fall in a very long loop
when the tickers are sorted DESC. Means it downloads more than
needed.
This commit enable exhanges like GDAX and unify the ticker_history
list across all exchanges.
2018-06-03 00:13:48 -07:00
Anton
ceeb98dda9
Fix conflicts
2018-05-03 11:16:29 +03:00
Michael Egger
90a107393a
Merge pull request #622 from gcarq/fix/dl-testdata
...
fix download testdata
2018-05-02 22:06:43 +02:00
gcarq
a76ed88496
Merge branch 'feat/objectify-ccxt' into feature/catch-exchange-errors
2018-05-02 20:03:13 +02:00