'Are we protected against overwriting an algo\'s portfolio?'

def test_set_portfolio(self):

    algo = SetPortfolioAlgorithm(self.sid, sim_params=self.sim_params, env=self.env)
    with self.assertRaises(AttributeError):
        algo.run(self.data_portal)
