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