summaryrefslogtreecommitdiff
path: root/test/dialect
diff options
context:
space:
mode:
authorW. Sean McGivern <WSMcGivern@gmail.com>2014-04-19 12:16:46 -0400
committerW. Sean McGivern <WSMcGivern@gmail.com>2014-04-19 12:16:46 -0400
commitc5a95ea8e37bfc98d5c9593638dc0c0e32351c72 (patch)
tree1d8b90ac41b0d354c2070484b7ddaad3dafd84a8 /test/dialect
parent1fb4ad75a38ce84d0e7b170927025500b73b5519 (diff)
downloadsqlalchemy-c5a95ea8e37bfc98d5c9593638dc0c0e32351c72.tar.gz
Added optional '=' to MySQL KEY_BLOCK_SIZE regex
Diffstat (limited to 'test/dialect')
-rw-r--r--test/dialect/mysql/test_reflection.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dialect/mysql/test_reflection.py b/test/dialect/mysql/test_reflection.py
index 7494eaf43..c8fdc9310 100644
--- a/test/dialect/mysql/test_reflection.py
+++ b/test/dialect/mysql/test_reflection.py
@@ -297,6 +297,10 @@ class RawReflectionTest(fixtures.TestBase):
assert regex.match(' PRIMARY KEY (`id`)')
assert regex.match(' PRIMARY KEY USING BTREE (`id`)')
assert regex.match(' PRIMARY KEY (`id`) USING BTREE')
+ assert regex.match(' PRIMARY KEY (`id`) USING BTREE KEY_BLOCK_SIZE 16')
+ assert regex.match(' PRIMARY KEY (`id`) USING BTREE KEY_BLOCK_SIZE=16')
+ assert regex.match(' PRIMARY KEY (`id`) USING BTREE KEY_BLOCK_SIZE = 16')
+ assert not regex.match(' PRIMARY KEY (`id`) USING BTREE KEY_BLOCK_SIZE = = 16')
def test_fk_reflection(self):
regex = self.parser._re_constraint