aboutsummaryrefslogtreecommitdiffstats
path: root/examples/runtests.py
diff options
context:
space:
mode:
authorMarko Tibold2011-12-30 01:37:32 +0100
committerMarko Tibold2011-12-30 01:37:32 +0100
commit1b28339e5b733a0422c2bcd06b39e289bc98f69b (patch)
tree9e766f4f9d9ec596bc0e2702e1bb291b90aa3a93 /examples/runtests.py
parent91cee26ad89c04a70f33ae334150dd127f900474 (diff)
parenta0c4dca9462c738aac3c712607997b9bd1f7b2c8 (diff)
downloaddjango-rest-framework-1b28339e5b733a0422c2bcd06b39e289bc98f69b.tar.bz2
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'examples/runtests.py')
-rw-r--r--examples/runtests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/runtests.py b/examples/runtests.py
index fdd35839..a62d9a9a 100644
--- a/examples/runtests.py
+++ b/examples/runtests.py
@@ -8,7 +8,7 @@ from coverage import coverage
def main():
"""Run the tests for the examples and generate a coverage report."""
-
+
# Discover the list of all modules that we should test coverage for
project_dir = os.path.dirname(__file__)
cov_files = []
@@ -18,7 +18,7 @@ def main():
continue
cov_files.extend([os.path.join(path, file) for file in files if file.endswith('.py')])
TestRunner = get_runner(settings)
-
+
cov = coverage()
cov.erase()
cov.start()