def test_cannotSyncWithNoItem(self):
     item = PivotalTrackerItem()
     self.assertFalse(item.canBeSyncedWith(None))
Exemplo n.º 2
0
 def test_cannotSyncWithNoItem(self):
     item = PivotalTrackerItem()
     self.assertFalse(item.canBeSyncedWith(None))
 def test_storyCannotBeSyncedWithJiraItem(self):
     item = PivotalTrackerItem()
     toSyncWith = mock()
     when(toSyncWith).canBeSyncedWith(item).thenReturn(False)
     self.assertFalse(item.canBeSyncedWith(toSyncWith))
Exemplo n.º 4
0
 def test_storyCannotBeSyncedWithJiraItem(self):
     item = PivotalTrackerItem()
     toSyncWith = mock()
     when(toSyncWith).canBeSyncedWith(item).thenReturn(False)
     self.assertFalse(item.canBeSyncedWith(toSyncWith))