diff options
author | Markus Holtermann <info@markusholtermann.eu> | 2019-04-14 15:00:48 +0200 |
---|---|---|
committer | Markus Holtermann <info@markusholtermann.eu> | 2019-04-14 16:14:14 +0200 |
commit | da0b2554ec8e3ef134237b773baed06cd5f8a82f (patch) | |
tree | b6039588aaa8271f5150b0ec376b8006037751f2 /tests/fixtures | |
parent | 2e38f2015aba224b68a91a3012b87223f3046bb6 (diff) | |
download | django-da0b2554ec8e3ef134237b773baed06cd5f8a82f.tar.gz |
Renamed camelCaseTestMethods to snake_case_test_methods
Diffstat (limited to 'tests/fixtures')
-rw-r--r-- | tests/fixtures/tests.py | 4 |
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) |