summaryrefslogtreecommitdiff
path: root/tests/fixtures/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures/tests.py')
-rw-r--r--tests/fixtures/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fixtures/tests.py b/tests/fixtures/tests.py
index 90dadac648..7390ab54f9 100644
--- a/tests/fixtures/tests.py
+++ b/tests/fixtures/tests.py
@@ -25,7 +25,7 @@ from .models import (
class TestCaseFixtureLoadingTests(TestCase):
fixtures = ['fixture1.json', 'fixture2.json']
- def testClassFixtures(self):
+ def test_class_fixtures(self):
"Test case has installed 3 fixture objects"
self.assertEqual(Article.objects.count(), 3)
self.assertQuerysetEqual(Article.objects.all(), [
@@ -41,7 +41,7 @@ class SubclassTestCaseFixtureLoadingTests(TestCaseFixtureLoadingTests):
"""
fixtures = []
- def testClassFixtures(self):
+ def test_class_fixtures(self):
"There were no fixture objects installed"
self.assertEqual(Article.objects.count(), 0)