diff options
Diffstat (limited to 'bitbake/lib/toaster/toastermain/management/commands/perf.py')
-rw-r--r-- | bitbake/lib/toaster/toastermain/management/commands/perf.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastermain/management/commands/perf.py b/bitbake/lib/toaster/toastermain/management/commands/perf.py index d28f26ab16..71a48e95d8 100644 --- a/bitbake/lib/toaster/toastermain/management/commands/perf.py +++ b/bitbake/lib/toaster/toastermain/management/commands/perf.py | |||
@@ -2,7 +2,12 @@ from django.core.management.base import BaseCommand | |||
2 | from django.test.client import Client | 2 | from django.test.client import Client |
3 | import os, sys, re | 3 | import os, sys, re |
4 | import requests | 4 | import requests |
5 | import toastermain.settings as settings | 5 | from django.conf import settings |
6 | |||
7 | # pylint: disable=E1103 | ||
8 | # Instance of 'WSGIRequest' has no 'status_code' member | ||
9 | # (but some types could not be inferred) (maybe-no-member) | ||
10 | |||
6 | 11 | ||
7 | class Command(BaseCommand): | 12 | class Command(BaseCommand): |
8 | help = "Test the response time for all toaster urls" | 13 | help = "Test the response time for all toaster urls" |