Esempio n. 1
0
 def test_annotations_with_link(self):
     self.config.set('general', 'annotation_links', 'true')
     service = TrelloService(self.config, 'general', 'mytrello')
     annotations = service.annotations(self.CARD1)
     self.assertEqual(list(annotations), [
         "https://trello.com/c/AAaaBBbb", "@luidgi - Preums",
         "@mario - Deuz"
     ])
Esempio n. 2
0
 def test_annotations_with_link(self):
     self.config.set('general', 'annotation_links', 'true')
     service = TrelloService(self.config, 'general', 'mytrello')
     annotations = service.annotations(self.CARD1)
     self.assertEqual(
         list(annotations),
         ["https://trello.com/c/AAaaBBbb",
          "@luidgi - Preums",
          "@mario - Deuz"])
Esempio n. 3
0
 def test_annotations(self):
     service = TrelloService(self.config, 'general', 'mytrello')
     annotations = service.annotations(self.CARD1)
     self.assertEqual(
         list(annotations), ["@luidgi - Preums", "@mario - Deuz"])