def setUp(self): TestReadyUp.setUp(self) self.ready_all(key=1) position = Position.objects.all().first() pos_set = PositionSet(position) # first create spread self.sp = spread.Spread(pos_set)
def setUp(self): TestReadyUp.setUp(self) self.stock = PositionStock() self.option = PositionOption()