summaryrefslogtreecommitdiff
path: root/tests/test_runner_invalid_app/__init__.py
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2013-05-10 23:08:45 -0400
committerCarl Meyer <carl@oddbird.net>2013-05-10 23:08:45 -0400
commit9012833af857e081b515ce760685b157638efcef (patch)
tree467982b071026047cab406e4eaae9cb1a2d2f77d /tests/test_runner_invalid_app/__init__.py
parentc0d8932a6d03e9326a4e407e944b09bf43cf929c (diff)
Fixed #17365, #17366, #18727 -- Switched to discovery test runner.
Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
Diffstat (limited to 'tests/test_runner_invalid_app/__init__.py')
-rw-r--r--tests/test_runner_invalid_app/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_runner_invalid_app/__init__.py b/tests/test_runner_invalid_app/__init__.py
new file mode 100644
index 0000000000..45efd37d3e
--- /dev/null
+++ b/tests/test_runner_invalid_app/__init__.py
@@ -0,0 +1,4 @@
+# Example of app layout that causes issue #12658:
+# * Both `models` and `tests` are packages.
+# * The tests raise a ImportError exception.
+# `test_runner` tests performs test discovery on this app.