def test_cron_validate_answers(request):
    requestProcessor = HttpRequestProcessor(request)
    user = request.user
    field_validation_cycle_util = FieldValidationCycleUtil()      
    field_validation_cycle_util.cron_validate_answers()           
    data = {}
    return requestProcessor.render_to_response(request,'website/test/test_cron_validate_answers.html', data, '')   
     
예제 #2
0
def runValidateAnswersCron(objCronHelper):
    objCronHelper.WriteHTML('Validate Answers<br/>')
    aaa = FieldValidationCycleUtil()
    aaa.cron_validate_answers()
    objCronHelper.WriteHTML('<br/>Validate Answers Done!<br/>')
예제 #3
0
파일: cron.py 프로젝트: renic/solarpermit
def runValidateAnswersCron(objCronHelper):
    objCronHelper.WriteHTML("Validate Answers<br/>")
    aaa = FieldValidationCycleUtil()
    aaa.cron_validate_answers()
    objCronHelper.WriteHTML("<br/>Validate Answers Done!<br/>")
예제 #4
0
 def handle(self, *args, **options):
     fvcu = FieldValidationCycleUtil()
     fvcu.cron_validate_answers()