Document, add to changelog the data migrations and rename to 'warnings-as-errors' (plural)
This commit is contained in:
1 parent
71614bd377
commit
e49f6dea9c
6 files changed
+21
-7
No files matched your search
@@ -49,11 +49,11 @@ class DataMigrationDetectionTestCase(unittest.TestCase):
|
||||
self.assertEqual(1, self.linter.nb_valid)
|
||||
self.assertFalse(self.linter.has_errors)
|
||||
|
||||
def test_warning_as_error(self):
|
||||
def test_warnings_as_errors(self):
|
||||
self.linter = MigrationLinter(
|
||||
self.test_project_path,
|
||||
include_apps=fixtures.DATA_MIGRATIONS,
|
||||
warning_as_error=True,
|
||||
warnings_as_errors=True,
|
||||
)
|
||||
|
||||
reverse_migration = self.linter.migration_loader.disk_migrations[
|
||||
|
||||
Reference in new issue
Block a user