diff --git a/tests/edge/test_edge.py b/tests/edge/test_edge.py index d5f282d7b..4fab68591 100644 --- a/tests/edge/test_edge.py +++ b/tests/edge/test_edge.py @@ -155,8 +155,6 @@ def test_edge_results(edge_conf, mocker, caplog, data) -> None: trades = edge._find_trades_for_stoploss_range(frame, 'TEST/BTC', [data.stop_loss]) results = edge._fill_calculable_fields(DataFrame(trades)) if trades else DataFrame() - print(results) - assert len(trades) == len(data.trades) if not results.empty: diff --git a/tests/exchange/test_exchange.py b/tests/exchange/test_exchange.py index e23db42d2..5ab7cdb47 100644 --- a/tests/exchange/test_exchange.py +++ b/tests/exchange/test_exchange.py @@ -1035,7 +1035,6 @@ def test_get_historic_ohlcv(default_conf, mocker, caplog, exchange_name): exchange._async_get_candle_history = Mock(wraps=mock_candle_hist) # one_call calculation * 1.8 should do 2 calls since = 5 * 60 * 500 * 1.8 - print(f"since = {since}") ret = exchange.get_historic_ohlcv(pair, "5m", int((arrow.utcnow().timestamp - since) * 1000)) assert exchange._async_get_candle_history.call_count == 2 @@ -1340,7 +1339,6 @@ def test_get_order(default_conf, mocker, exchange_name): order.myid = 123 exchange = get_patched_exchange(mocker, default_conf, id=exchange_name) exchange._dry_run_open_orders['X'] = order - print(exchange.get_order('X', 'TKN/BTC')) assert exchange.get_order('X', 'TKN/BTC').myid == 123 with pytest.raises(InvalidOrderException, match=r'Tried to get an invalid dry-run-order.*'): diff --git a/tests/optimize/test_backtest_detail.py b/tests/optimize/test_backtest_detail.py index 8cd88a479..1bcd9b08e 100644 --- a/tests/optimize/test_backtest_detail.py +++ b/tests/optimize/test_backtest_detail.py @@ -308,7 +308,6 @@ def test_backtest_results(default_conf, fee, mocker, caplog, data) -> None: 'end_date': max_date, } ) - print(results.T) assert len(results) == len(data.trades) assert round(results["profit_percent"].sum(), 3) == round(data.profit_perc, 3) diff --git a/tests/optimize/test_backtesting.py b/tests/optimize/test_backtesting.py index 34c0322cb..770f6c4ba 100644 --- a/tests/optimize/test_backtesting.py +++ b/tests/optimize/test_backtesting.py @@ -451,7 +451,6 @@ def test_generate_text_table_strategyn(default_conf, mocker): '| LTC/BTC | 3 | 30.00 | 90.00 ' '| 1.30000000 | 45.00 | 0:20:00 | 3 | 0 |' ) - print(backtesting._generate_text_table_strategy(all_results=results)) assert backtesting._generate_text_table_strategy(all_results=results) == result_str diff --git a/tests/optimize/test_hyperopt.py b/tests/optimize/test_hyperopt.py index 900405f03..f5c8bf0ae 100644 --- a/tests/optimize/test_hyperopt.py +++ b/tests/optimize/test_hyperopt.py @@ -214,9 +214,6 @@ def test_start(mocker, default_conf, caplog) -> None: args = get_args(args) start_hyperopt(args) - import pprint - pprint.pprint(caplog.record_tuples) - assert log_has('Starting freqtrade in Hyperopt mode', caplog) assert start_mock.call_count == 1 @@ -239,9 +236,6 @@ def test_start_no_data(mocker, default_conf, caplog) -> None: args = get_args(args) start_hyperopt(args) - import pprint - pprint.pprint(caplog.record_tuples) - assert log_has('No data found. Terminating.', caplog) diff --git a/tests/test_configuration.py b/tests/test_configuration.py index 20ebda440..3717f4d1b 100644 --- a/tests/test_configuration.py +++ b/tests/test_configuration.py @@ -27,7 +27,6 @@ from tests.conftest import (log_has, log_has_re, @pytest.fixture(scope="function") def all_conf(): config_file = Path(__file__).parents[1] / "config_full.json.example" - print(config_file) conf = load_config_file(str(config_file)) return conf @@ -713,7 +712,6 @@ def test_load_config_test_comments() -> None: Load config with comments """ config_file = Path(__file__).parents[0] / "config_test_comments.json" - print(config_file) conf = load_config_file(str(config_file)) assert conf diff --git a/tests/test_freqtradebot.py b/tests/test_freqtradebot.py index 4ffa863e6..a67659d8c 100644 --- a/tests/test_freqtradebot.py +++ b/tests/test_freqtradebot.py @@ -970,7 +970,6 @@ def test_execute_buy(mocker, default_conf, fee, markets, limit_buy_order) -> Non markets=PropertyMock(return_value=markets) ) pair = 'ETH/BTC' - print(buy_mm.call_args_list) assert freqtrade.execute_buy(pair, stake_amount) assert get_bid.call_count == 1 diff --git a/tests/test_persistence.py b/tests/test_persistence.py index 85c244f7a..6bd223a9b 100644 --- a/tests/test_persistence.py +++ b/tests/test_persistence.py @@ -729,7 +729,6 @@ def test_to_json(default_conf, fee): ) result = trade.to_json() assert isinstance(result, dict) - print(result) assert result == {'trade_id': None, 'pair': 'ETH/BTC',