File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -770,6 +770,28 @@ def setUp(self):
770
770
'error' , message = 'Evaluating non-mapped column expression' ,
771
771
category = sqla_exc .SAWarning )
772
772
773
+ # NOTE(stephenfin): Disable the annoying "TypeDecorator foo will not
774
+ # produce a cache key because the ``cache_ok`` flag is not set to True"
775
+ # warning. It's fixed in oslo.db 10.0.0 but not before.
776
+ # TODO(stephenfin): Remove once we bump oslo.db in lower-constraints to
777
+ # 10.0.0
778
+ warnings .filterwarnings (
779
+ 'ignore' ,
780
+ message = r'TypeDecorator SoftDeleteInteger\(\) will not produce .*' ,
781
+ category = sqla_exc .SAWarning )
782
+
783
+ # TODO(stephenfin): Remove once we fix this is oslo.db 10.0.1 or so
784
+ warnings .filterwarnings (
785
+ 'ignore' ,
786
+ message = r'Invoking and_\(\) without arguments is deprecated, .*' ,
787
+ category = sqla_exc .SADeprecationWarning )
788
+
789
+ # TODO(stephenfin): Remove once we fix this in placement 5.0.2 or 6.0.0
790
+ warnings .filterwarnings (
791
+ 'ignore' ,
792
+ message = 'Implicit coercion of SELECT and textual SELECT .*' ,
793
+ category = sqla_exc .SADeprecationWarning )
794
+
773
795
# TODO(jangutter): Change (or remove) this to an error during the Train
774
796
# cycle when the os-vif port profile is no longer used.
775
797
warnings .filterwarnings (
You can’t perform that action at this time.
0 commit comments