From e8d308892597e6abee5b94a77543a7ef7d34a655 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 10 Apr 2020 11:53:08 +0200 Subject: [PATCH] Refs #31055 -- Allowed database queries in invalid_models_tests.test_models.FieldNamesTests. --- tests/invalid_models_tests/test_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/invalid_models_tests/test_models.py b/tests/invalid_models_tests/test_models.py index 736be8ebe0a..6090724adb2 100644 --- a/tests/invalid_models_tests/test_models.py +++ b/tests/invalid_models_tests/test_models.py @@ -333,7 +333,8 @@ class IndexesTests(SimpleTestCase): @isolate_apps('invalid_models_tests') -class FieldNamesTests(SimpleTestCase): +class FieldNamesTests(TestCase): + databases = {'default', 'other'} def test_ending_with_underscore(self): class Model(models.Model):