def run(self, **kwargs):
     """
     Run this command unless it has been run recently.
     """
     if is_recent():
         pass
     else:
         numreports = TestReport.objects.count()
         make_test_reports(force=True)
         newnumreports = TestReport.objects.count()
         if newnumreports > numreports:
             touch()
 def handle_noargs(self, **options):
     make_test_reports()
Example #3
0
 def run(self, **kwargs):
     numreports = TestReport.objects.count()
     make_test_reports(force=True)
 def handle_noargs(self, **options):
     make_test_reports(force=True)