[UT] Adjust autogen_process_directives for alembic-1.12.0+
With [1] included in alembic-1.12.0 the unit test
test_autogen_process_directives fails as it was
expecting 'type_' param in Autogenerated output.
But this is not included with 1.12.0 by default,
this patch enhances the regex to care only for relevant
parameters.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/893602 /opendev. org/openstack/ neutron/ commit/ f7489abaf822574 f6d8c01b7249578 8e07d756d3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f7489abaf822574 f6d8c01b7249578 8e07d756d3
Author: yatinkarel <email address hidden>
Date: Mon Sep 4 13:33:29 2023 +0530
[UT] Adjust autogen_ process_ directives for alembic-1.12.0+
With [1] included in alembic-1.12.0 the unit test autogen_ process_ directives fails as it was
test_
expecting 'type_' param in Autogenerated output.
But this is not included with 1.12.0 by default,
this patch enhances the regex to care only for relevant
parameters.
[1] https:/ /github. com/sqlalchemy/ alembic/ commit/ 733197e 6be2963d23a76a0 5f11cfccf2c
Closes-Bug: #2034016
Change-Id: I088cc4b260cccf