def test_cannotSyncWithNoItem(self):
     item = PivotalTrackerItem()
     self.assertFalse(item.canBeSyncedWith(None))
Exemple #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))
Exemple #4
0
 def test_storyCannotBeSyncedWithJiraItem(self):
     item = PivotalTrackerItem()
     toSyncWith = mock()
     when(toSyncWith).canBeSyncedWith(item).thenReturn(False)
     self.assertFalse(item.canBeSyncedWith(toSyncWith))