def METHOD_NAME(self, mocked_stdout):
    task = launch_sync_mobile.apply()
    log = mocked_stdout.getvalue()
    self.assertIn("Done", log)
    self.assertIn('Sync mobile ended', log)
    self.assertEqual(task.status, "SUCCESS")