mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
commit
c7551a16c7
4 changed files with 41 additions and 22 deletions
|
@ -13,6 +13,14 @@ class DumpTests(unittest.TestCase):
|
|||
|
||||
def CheckTableDump(self):
|
||||
expected_sqls = [
|
||||
"""CREATE TABLE "index"("index" blob);"""
|
||||
,
|
||||
"""INSERT INTO "index" VALUES(X'01');"""
|
||||
,
|
||||
"""CREATE TABLE "quoted""table"("quoted""field" text);"""
|
||||
,
|
||||
"""INSERT INTO "quoted""table" VALUES('quoted''value');"""
|
||||
,
|
||||
"CREATE TABLE t1(id integer primary key, s1 text, " \
|
||||
"t1_i1 integer not null, i2 integer, unique (s1), " \
|
||||
"constraint t1_idx1 unique (i2));"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue