Пример #1
0
 def run_test(self, request, queryset):
     n = run_tests(queryset)
     self.message_user(request, '{0} test(s) ran.'.format(len(n)))
Пример #2
0
 def handle(self, *args, **options):
     n = run_tests(in_test_run=True)
     self.stdout.write('{0} tests ran\n'.format(len(n)))
Пример #3
0
 def run_test(self, request, queryset):
     n = run_tests(queryset)
     self.message_user(request, '{0} test(s) ran.'.format(len(n)))
Пример #4
0
 def handle(self, *args, **options):
     n = run_tests(in_test_run=True)
     self.stdout.write('{0} tests ran\n'.format(len(n)))