diff options
Diffstat (limited to 'tests/test_postgresql.py')
-rw-r--r-- | tests/test_postgresql.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_postgresql.py b/tests/test_postgresql.py index 7fb514f..576d957 100644 --- a/tests/test_postgresql.py +++ b/tests/test_postgresql.py @@ -203,8 +203,10 @@ class PostgresqlDefaultCompareTest(TestBase): insp_col = Column("somecol", cols[0]['type'], server_default=text(cols[0]['default'])) op = ops.AlterColumnOp("test", "somecol") - _compare_server_default(None, "test", "somecol", insp_col, - t2.c.somecol, op, self.autogen_context) + _compare_server_default( + self.autogen_context, op, + None, "test", "somecol", insp_col, t2.c.somecol) + diffs = op.to_diff_tuple() eq_(bool(diffs), diff_expected) |