From 251e833c75b761c673d69e5f2a8e0cbd07586009 Mon Sep 17 00:00:00 2001 From: Preston Timmons Date: Sun, 20 Apr 2014 21:48:29 -0500 Subject: [PATCH] Removed old test runner test cases. These files were added as part of #12658, which pertained to the old django.test.simple test runner. No tests call them anymore. --- tests/runtests.py | 1 - tests/test_runner/valid_app/__init__.py | 3 --- tests/test_runner/valid_app/models/__init__.py | 0 tests/test_runner/valid_app/tests/__init__.py | 0 tests/test_runner_invalid_app/__init__.py | 4 ---- tests/test_runner_invalid_app/models/__init__.py | 0 tests/test_runner_invalid_app/tests/__init__.py | 4 ---- 7 files changed, 12 deletions(-) delete mode 100644 tests/test_runner/valid_app/__init__.py delete mode 100644 tests/test_runner/valid_app/models/__init__.py delete mode 100644 tests/test_runner/valid_app/tests/__init__.py delete mode 100644 tests/test_runner_invalid_app/__init__.py delete mode 100644 tests/test_runner_invalid_app/models/__init__.py delete mode 100644 tests/test_runner_invalid_app/tests/__init__.py diff --git a/tests/runtests.py b/tests/runtests.py index e852346fc1..787b83e7a5 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -34,7 +34,6 @@ SUBDIRS_TO_SKIP = [ 'test_discovery_sample', 'test_discovery_sample2', 'test_runner_deprecation_app', - 'test_runner_invalid_app', ] ALWAYS_INSTALLED_APPS = [ diff --git a/tests/test_runner/valid_app/__init__.py b/tests/test_runner/valid_app/__init__.py deleted file mode 100644 index 8d60a80c53..0000000000 --- a/tests/test_runner/valid_app/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# Example of app layout to verify that the fix for #12658 doesn't break test -# discovery when both `models` and `tests` are packages. -# `test_runner` tests perform test discovery on this app. diff --git a/tests/test_runner/valid_app/models/__init__.py b/tests/test_runner/valid_app/models/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/test_runner/valid_app/tests/__init__.py b/tests/test_runner/valid_app/tests/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/test_runner_invalid_app/__init__.py b/tests/test_runner_invalid_app/__init__.py deleted file mode 100644 index 45efd37d3e..0000000000 --- a/tests/test_runner_invalid_app/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# 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. diff --git a/tests/test_runner_invalid_app/models/__init__.py b/tests/test_runner_invalid_app/models/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/test_runner_invalid_app/tests/__init__.py b/tests/test_runner_invalid_app/tests/__init__.py deleted file mode 100644 index b4ed71824b..0000000000 --- a/tests/test_runner_invalid_app/tests/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# Tests that raise ImportError should not fail silently. -# This is a support fixture for one test case in test_runner - -raise ImportError