Skip to content

Commit

Permalink
Remove unused test-data
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Oct 2, 2019
1 parent 8c5b299 commit eca8dda
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 15 deletions.
4 changes: 2 additions & 2 deletions tests/data/test_btanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ def test_load_trades(default_conf, mocker):


def test_combine_tickers_with_mean(testdatadir):
pairs = ["ETH/BTC", "XLM/BTC"]
pairs = ["ETH/BTC", "ADA/BTC"]
tickers = load_data(datadir=testdatadir,
pairs=pairs,
ticker_interval='5m'
)
df = combine_tickers_with_mean(tickers)
assert isinstance(df, DataFrame)
assert "ETH/BTC" in df.columns
assert "XLM/BTC" in df.columns
assert "ADA/BTC" in df.columns
assert "mean" in df.columns


Expand Down
6 changes: 3 additions & 3 deletions tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ def test_init_plotscript(default_conf, mocker, testdatadir):
assert "trades" in ret
assert "pairs" in ret

default_conf['pairs'] = ["POWR/BTC", "XLM/BTC"]
default_conf['pairs'] = ["POWR/BTC", "ADA/BTC"]
ret = init_plotscript(default_conf)
assert "tickers" in ret
assert "POWR/BTC" in ret["tickers"]
assert "XLM/BTC" in ret["tickers"]
assert "ADA/BTC" in ret["tickers"]


def test_add_indicators(default_conf, testdatadir, caplog):
Expand Down Expand Up @@ -247,7 +247,7 @@ def test_generate_profit_graph(testdatadir):
filename = testdatadir / "backtest-result_test.json"
trades = load_backtest_data(filename)
timerange = TimeRange.parse_timerange("20180110-20180112")
pairs = ["POWR/BTC", "XLM/BTC"]
pairs = ["POWR/BTC", "ADA/BTC"]

tickers = history.load_data(datadir=testdatadir,
pairs=pairs,
Expand Down
1 change: 0 additions & 1 deletion tests/testdata/ADA_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/DASH_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/ETC_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/ETH_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/LTC_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/NXT_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/POWR_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/XLM_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/XMR_BTC-1m.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/testdata/ZEC_BTC-1m.json

This file was deleted.

0 comments on commit eca8dda

Please sign in to comment.