|
| 1 | +from sqlalchemy.testing.requirements import SuiteRequirements |
| 2 | + |
| 3 | +from sqlalchemy.testing import exclusions |
| 4 | + |
| 5 | + |
| 6 | +class Requirements(SuiteRequirements): |
| 7 | + @property |
| 8 | + def bound_limit_offset(self): |
| 9 | + return exclusions.closed() |
| 10 | + |
| 11 | + @property |
| 12 | + def date(self): |
| 13 | + return exclusions.closed() |
| 14 | + |
| 15 | + @property |
| 16 | + def datetime_microseconds(self): |
| 17 | + return exclusions.closed() |
| 18 | + |
| 19 | + @property |
| 20 | + def floats_to_four_decimals(self): |
| 21 | + return exclusions.closed() |
| 22 | + |
| 23 | + # TODO: remove this when SQLA released with |
| 24 | + # https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/2990 |
| 25 | + @property |
| 26 | + def implicitly_named_constraints(self): |
| 27 | + return exclusions.open() |
| 28 | + |
| 29 | + @property |
| 30 | + def nullable_booleans(self): |
| 31 | + """Target database allows boolean columns to store NULL.""" |
| 32 | + # Access Yes/No doesn't allow null |
| 33 | + return exclusions.closed() |
| 34 | + |
| 35 | + @property |
| 36 | + def offset(self): |
| 37 | + # Access does LIMIT (via TOP) but not OFFSET |
| 38 | + return exclusions.closed() |
| 39 | + |
| 40 | + @property |
| 41 | + def parens_in_union_contained_select_w_limit_offset(self): |
| 42 | + return exclusions.closed() |
| 43 | + |
| 44 | + @property |
| 45 | + def precision_generic_float_type(self): |
| 46 | + return exclusions.closed() |
| 47 | + |
| 48 | + @property |
| 49 | + def reflects_pk_names(self): |
| 50 | + return exclusions.open() |
| 51 | + |
| 52 | + @property |
| 53 | + def sql_expression_limit_offset(self): |
| 54 | + return exclusions.closed() |
| 55 | + |
| 56 | + @property |
| 57 | + def temp_table_reflection(self): |
| 58 | + return exclusions.closed() |
| 59 | + |
| 60 | + @property |
| 61 | + def temporary_tables(self): |
| 62 | + return exclusions.closed() |
| 63 | + |
| 64 | + @property |
| 65 | + def temporary_views(self): |
| 66 | + return exclusions.closed() |
| 67 | + |
| 68 | + @property |
| 69 | + def time(self): |
| 70 | + return exclusions.closed() |
| 71 | + |
| 72 | + @property |
| 73 | + def time_microseconds(self): |
| 74 | + return exclusions.closed() |
| 75 | + |
| 76 | + @property |
| 77 | + def timestamp_microseconds(self): |
| 78 | + return exclusions.closed() |
| 79 | + |
| 80 | + @property |
| 81 | + def unicode_ddl(self): |
| 82 | + # Access won't let you drop a child table unless |
| 83 | + # you drop the FK constraint first. Not worth the grief. |
| 84 | + return exclusions.closed() |
| 85 | + |
| 86 | + @property |
| 87 | + def view_column_reflection(self): |
| 88 | + return exclusions.open() |
0 commit comments