Ejemplo n.º 1
0
 def check_constraint_reflection(self):
     return exclusions.fails_on_everything_except(
         "postgresql",
         "sqlite",
         "oracle",
         self._mysql_and_check_constraints_exist,
     )
Ejemplo n.º 2
0
 def check_constraint_reflection(self):
     return exclusions.fails_on_everything_except(
         "postgresql",
         "sqlite",
         "oracle",
         self._mysql_and_check_constraints_exist,
     )
Ejemplo n.º 3
0
    def reflects_pk_names(self):
        """Target driver reflects the name of primary key constraints."""

        return exclusions.fails_on_everything_except(
            'postgresql', 'oracle', 'mssql', 'sybase',
            lambda config: (
                util.sqla_110 and exclusions.against(config, "sqlite")
            )
        )
Ejemplo n.º 4
0
    def reflects_pk_names(self):
        """Target driver reflects the name of primary key constraints."""

        return exclusions.fails_on_everything_except(
            'postgresql', 'oracle', 'mssql', 'sybase',
            lambda config: (
                util.sqla_110 and exclusions.against(config, "sqlite")
            )
        )
Ejemplo n.º 5
0
    def no_referential_integrity(self):
        """test will fail if referential integrity is enforced"""

        return exclusions.fails_on_everything_except("sqlite")
Ejemplo n.º 6
0
 def check_constraint_reflection(self):
     return exclusions.fails_on_everything_except("postgresql", "sqlite",
                                                  self._mariadb_102)
Ejemplo n.º 7
0
    def reflects_pk_names(self):
        """Target driver reflects the name of primary key constraints."""

        return exclusions.fails_on_everything_except(
            'postgresql', 'oracle', 'mssql', 'sybase')
Ejemplo n.º 8
0
    def no_referential_integrity(self):
        """test will fail if referential integrity is enforced"""

        return exclusions.fails_on_everything_except("sqlite")
Ejemplo n.º 9
0
    def reflects_pk_names(self):
        """Target driver reflects the name of primary key constraints."""

        return exclusions.fails_on_everything_except(
            "postgresql", "oracle", "mssql", "sybase", "sqlite"
        )
Ejemplo n.º 10
0
    def reflects_pk_names(self):
        """Target driver reflects the name of primary key constraints."""

        return exclusions.fails_on_everything_except(
            'postgresql', 'oracle', 'mssql', 'sybase')