def test_card_returns_the_information_of_the_card(self): card = TrelloCardMock() output = """card_name (card_url) card_desc The card has: 2 members 2 comments 4 votes 3 attachments 3 labels ( Green: Ok, Yellow, Red: Urgent )""" self.assertEqual(Output.card(card), output)
def test_card_returns_the_information_of_the_card(self): card = TrelloCardMock() output = """card_name (card_url) card_desc The card has: 2 members 2 comments 4 votes 3 attachments 3 labels ( Green: Ok, Yellow, Red: Urgent )""" self.assertEqual(Output.card(card), output)
def show(self): self.command.output(Output.card(self.card))
def show(self): self.command.output(Output.card(self.card))