Work on SQL Analyser module
* With database specific functions * Functions that analyse the entire transaction * Unit tests that only test this module
This commit is contained in:
1 parent
d02df5d20f
commit
ef2052a7b0
6 files changed
+268
-44
No files matched your search
@@ -28,7 +28,7 @@ class LinterFunctionsTestCase(unittest.TestCase):
|
||||
self.assertEqual(sql_statements[-1], "COMMIT;")
|
||||
|
||||
def test_has_errors(self):
|
||||
linter = MigrationLinter()
|
||||
linter = MigrationLinter(database="mysql")
|
||||
self.assertFalse(linter.has_errors)
|
||||
|
||||
m = Migration("0001_create_table", "app_add_not_null_column")
|
||||
|
||||
Reference in new issue
Block a user