def setUp(self): card = TrelloElementMock("card_name") self.card_options = CardOptions(card) self.card_options.command = CommandMock()