Refs #31055 -- Allowed database queries in invalid_models_tests.test_models.FieldNamesTests.

This commit is contained in:
Mariusz Felisiak 2020-04-10 11:53:08 +02:00
parent f5ede1cb6d
commit e8d3088925
1 changed files with 2 additions and 1 deletions

View File

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