Esempio n. 1
0
 def check_constraint_reflection(self):
     return exclusions.fails_on_everything_except(
         "postgresql",
         "sqlite",
         "oracle",
         self._mysql_and_check_constraints_exist,
     )
Esempio n. 2
0
 def check_constraint_reflection(self):
     return exclusions.fails_on_everything_except(
         "postgresql",
         "sqlite",
         "oracle",
         self._mysql_and_check_constraints_exist,
     )
Esempio 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")
            )
        )
Esempio 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")
            )
        )
Esempio n. 5
0
    def no_referential_integrity(self):
        """test will fail if referential integrity is enforced"""

        return exclusions.fails_on_everything_except("sqlite")
Esempio n. 6
0
 def check_constraint_reflection(self):
     return exclusions.fails_on_everything_except("postgresql", "sqlite",
                                                  self._mariadb_102)
Esempio 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')
Esempio n. 8
0
    def no_referential_integrity(self):
        """test will fail if referential integrity is enforced"""

        return exclusions.fails_on_everything_except("sqlite")
Esempio 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"
        )
Esempio 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')