def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def setUp(self):
        super(BaseVoiceoverApplicationUnitTests, self).setUp()
        self.base_voiceover_application = MockInvalidVoiceoverApplication()