Exemplo n.º 1
0
    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)
Exemplo n.º 2
0
    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)
Exemplo n.º 3
0
 def show(self):
     self.command.output(Output.card(self.card))
 def show(self):
     self.command.output(Output.card(self.card))