diff options
Diffstat (limited to 'rest_framework/runtests/runcoverage.py')
| -rwxr-xr-x | rest_framework/runtests/runcoverage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/runtests/runcoverage.py b/rest_framework/runtests/runcoverage.py index 5f7fc876..ea2e3d45 100755 --- a/rest_framework/runtests/runcoverage.py +++ b/rest_framework/runtests/runcoverage.py @@ -46,7 +46,7 @@ def main(): for (path, dirs, files) in os.walk(project_dir): # Drop tests and runtests directories from the test coverage report - if os.path.basename(path) == 'tests' or os.path.basename(path) == 'runtests': + if os.path.basename(path) in ['tests', 'runtests', 'migrations']: continue # Drop the compat module from coverage, since we're not interested in the coverage |
