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:
David Wobrock committed 2019-07-29 21:05:12 +02:00
1 parent d02df5d20f
commit ef2052a7b0
6 files changed
+268 -44

No files matched your search

+1 -1
View File
@@ -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")