def revision(self, message, autogenerate): """Generate new migration.""" return migration.revision(message, autogenerate)
def test_revision(self, revision): migration.revision('test_message', 'autogenerate_value') revision.assert_called_once_with('fake_config', 'test_message', 'autogenerate_value')