'Test that when we run a simulation with no trading days (e.g. beginning
and ending the same weekend), we don\'t crash on calculating the
benchmark'

@parameterized.expand([('noop_algo', noop_algo), ('with_benchmark_set', set_benchmark_algo)])
def test_zero_trading_days(self, name, algocode):

    sim_params = factory.create_simulation_parameters(start=pd.Timestamp('2006-01-14', tz='UTC'), end=pd.Timestamp('2006-01-15', tz='UTC'))
    algo = TradingAlgorithm(script=algocode, sim_params=sim_params, env=self.env)
    algo.run(self.data_portal)
