summaryrefslogtreecommitdiff
path: root/tests/_autogen_fixtures.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/_autogen_fixtures.py')
-rw-r--r--tests/_autogen_fixtures.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/_autogen_fixtures.py b/tests/_autogen_fixtures.py
index e9047f6..a417a0e 100644
--- a/tests/_autogen_fixtures.py
+++ b/tests/_autogen_fixtures.py
@@ -186,9 +186,7 @@ class _ComparesFKs(object):
eq_([elem.column.name for elem in diff[1].elements], target_columns)
if conditional_name is not None:
- if config.requirements.no_fk_names.enabled:
- eq_(diff[1].name, None)
- elif conditional_name == "servergenerated":
+ if conditional_name == "servergenerated":
fks = Inspector.from_engine(self.bind).get_foreign_keys(
source_table
)