def test_find_last_synchronization_date(self): sync = synchronization.Synchronization.objects.get(pk=self.latest_sync_id) self.assertEquals(sync.date, synchronization.find_last_synchronization_date())
def test_find_last_syncrhonization_date(self): self.assertRaises(ObjectDoesNotExist, synchronization.find_last_synchronization_date())
def test_find_last_synchronization_date(self): self.assertIsNone(synchronization.find_last_synchronization_date())