-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad13808
commit 8145e27
Showing
4 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
11 changes: 11 additions & 0 deletions
11
benchmarks/system_check_benchmarks/run_checks/benchmark.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from django.core.checks import run_checks | ||
|
||
from ...utils import bench_setup | ||
|
||
|
||
class SystemChecks: | ||
def setup(self): | ||
bench_setup(migrate=True) | ||
|
||
def time_checks(self): | ||
run_checks(include_deployment_checks=True, databases=("default",)) |