summaryrefslogtreecommitdiff
path: root/tests/test_discovery_sample/tests_sample.py
diff options
context:
space:
mode:
authorPreston Timmons <prestontimmons@gmail.com>2013-12-16 10:04:28 -0600
committerTim Graham <timograham@gmail.com>2013-12-26 11:26:24 -0500
commitaef019de6113e6c750e3ba49dc1e9f2a179eb0ca (patch)
tree57b1f1c51e4651fb465d64e883943fd03ce5275b /tests/test_discovery_sample/tests_sample.py
parent52325b0a04cf1fcf444cece197585a35cf65bab9 (diff)
Fixed #21206 -- No longer run discovery if the test label doesn't point to a package or directory.
Thanks thepapermen for the report and Carl Meyer for the review.
Diffstat (limited to 'tests/test_discovery_sample/tests_sample.py')
-rw-r--r--tests/test_discovery_sample/tests_sample.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_discovery_sample/tests_sample.py b/tests/test_discovery_sample/tests_sample.py
index fb1e14c715..d538771b0f 100644
--- a/tests/test_discovery_sample/tests_sample.py
+++ b/tests/test_discovery_sample/tests_sample.py
@@ -13,3 +13,7 @@ class TestDjangoTestCase(DjangoTestCase):
def test_sample(self):
self.assertEqual(1, 1)
+
+
+class EmptyTestCase(TestCase):
+ pass