Matthias
a4d2bb6f29
Fix "No market symbol" exception in telegram calls
2018-10-10 21:28:48 +02:00
Matthias
a541d0a931
convert tests to packages
...
source: https://docs.pytest.org/en/latest/goodpractices.html
If you need to have test modules with the same name, you might add __init__.py files to your tests folder and subfolders, changing them to packages:
2018-10-09 21:13:43 +02:00
Matthias
e7d5cf9d9d
Allow loading of any additional configuration to ccxt
...
seperated by async and non-async
2018-10-04 20:16:43 +02:00
Matthias
674bad2a4f
Add and fix tests for load_markets
2018-09-11 19:46:47 +02:00
Matthias
e9deb928f6
Fix bug when exchange result is empty
2018-09-02 19:15:23 +02:00
Matthias
ffd4469c1d
fix typo, refresh_tickers does not need a return value
2018-08-29 19:56:38 +02:00
Matthias
54ddd908e6
Merge branch 'develop' into ccxt-async
2018-08-29 19:43:09 +02:00
Matthias
9f8e68ce02
Merge branch 'develop' into order-book
2018-08-29 19:32:44 +02:00
Matthias
a489a044ad
Mock Exchange results to avoid random test-failures
2018-08-25 13:17:07 +02:00
Matthias
6e90d482ef
remove amount_to_lots (deprecated / removed)
...
was removed from ccxt in
527f082e59
2018-08-21 19:08:21 +02:00
Matthias
088c54b88c
remove unnecessary function
2018-08-19 09:17:17 +02:00
Matthias
d556f669b0
Add async retrier
2018-08-18 21:05:38 +02:00
Matthias
ff8ed564f1
Refactor refresh_pairs to exchange and fix tests
2018-08-16 12:15:09 +02:00
Matthias
baeffee80d
Replace time.time with arrow.utcnow().timestamp
...
arrow is imported already
2018-08-15 13:26:01 +02:00
Matthias
3aa210cf93
Add test for get_history
2018-08-14 20:53:58 +02:00
Matthias
e37cb49dc2
Ad test for async_load_markets
2018-08-14 20:42:13 +02:00
Matthias
67cbbc86f2
Add test for exception
2018-08-14 20:35:12 +02:00
Matthias
37e504610a
refactor private method - improve some async tests
2018-08-14 20:33:03 +02:00
Matthias
8528143ffa
Properly close async exchange as requested by ccxt
2018-08-14 19:52:09 +02:00
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
Nullart2
7143b64fb7
tests for coverage
2018-08-05 22:41:58 +08:00
Nullart2
4a9bf78770
Order Book with tests
2018-08-05 12:41:06 +08: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
64f933477d
Merge pull request #1007 from freqtrade/remove-analyze
...
Remove Analyze
2018-07-19 10:12:36 +02:00
Janne Sinivirta
85fd4dd3ff
rename analyze.py to exchange_helpers.py
2018-07-17 21:26:52 +03: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