1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Renamed camelCaseTestMethods to snake_case_test_methods

This commit is contained in:
Markus Holtermann
2019-04-14 15:00:48 +02:00
parent 2e38f2015a
commit da0b2554ec
5 changed files with 28 additions and 28 deletions

View File

@@ -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)