Add failing tests for unique_together condition

This commit is contained in:
David Wobrock committed 2019-07-30 10:47:20 +02:00
1 parent 8aac58abbe
commit 652031ce8d
2 files changed
+25

No files matched your search

@@ -85,6 +85,10 @@ class BaseBackwardCompatibilityDetection(object):
app = fixtures.ALTER_COLUMN
self._test_linter_finds_no_errors(app)
def test_drop_unique_together(self):
app = fixtures.DROP_UNIQUE_TOGETHER
self._test_linter_finds_errors(app)
def test_accept_alter_column_drop_not_null(self):
app = fixtures.ALTER_COLUMN_DROP_NOT_NULL
self._test_linter_finds_no_errors(app)