diff --git a/tests/test_examples.py b/tests/test_examples.py index cef949fb9b..ea76a37cfa 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -236,6 +236,7 @@ def test_simple_system_portfolio_estimated( print(my_system.portfolio.get_instrument_weights().tail(5)) print(my_system.portfolio.get_instrument_diversification_multiplier().tail(5)) + @pytest.mark.slow # will be skipped unless run with 'pytest --runslow' def test_simple_system_portfolio_fixed( self, data, raw_data, my_rules, my_config, fcs, combiner, possizer, portfolio ): @@ -253,6 +254,7 @@ def test_simple_system_portfolio_fixed( print(my_system.portfolio.get_notional_position("SOFR").tail(5)) + @pytest.mark.slow # will be skipped unless run with 'pytest --runslow' def test_simple_system_costs( self, data, @@ -280,6 +282,7 @@ def test_simple_system_costs( print(profits.gross.percent.stats()) print(profits.net.percent.stats()) + @pytest.mark.slow # will be skipped unless run with 'pytest --runslow' def test_simple_system_config_object(self, data, ewmac_8, ewmac_32): my_config = Config( dict( @@ -357,6 +360,7 @@ def test_simple_system_risk_overlay(self, data, ewmac_8, ewmac_32): ) print(my_system.portfolio.get_notional_position("SOFR").tail(5)) + @pytest.mark.slow # will be skipped unless run with 'pytest --runslow' def test_simple_system_config_import(self, data): my_config = Config("systems.provided.example.simplesystemconfig.yaml") my_config.exclude_instrument_lists = dict(