MCPcopy Create free account
hub / github.com/kernc/backtesting.py / test_run_invalid_param

Method test_run_invalid_param

backtesting/test/_test.py:85–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 bt.run()
84
85 def test_run_invalid_param(self):
86 bt = Backtest(GOOG, SmaCross)
87 self.assertRaises(AttributeError, bt.run, foo=3)
88
89 def test_run_speed(self):
90 bt = Backtest(GOOG, SmaCross)

Callers

nothing calls this directly

Calls 1

BacktestClass · 0.90

Tested by

no test coverage detected