Skip to content

Commit

Permalink
fix: [sqlite] correct a doctest case to follow change of relvar namin…
Browse files Browse the repository at this point in the history
…g scheme
  • Loading branch information
ssato committed Feb 9, 2017
1 parent e5ad0f4 commit d5a730e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions anyconfig/backend/sqlite.py
Expand Up @@ -261,11 +261,14 @@ def dumps(cnf, **options):
BEGIN TRANSACTION;
CREATE TABLE 'a_b_c' ('a' INTEGER,
'b' TEXT,
'c' INTEGER,
'id' INTEGER);
INSERT INTO "a_b_c" VALUES(1,'b',1,122523911798);
INSERT INTO "a_b_c" VALUES(1,'b',2,323292151792);
INSERT INTO "a_b_c" VALUES(1,'b',3,896792172031);
INSERT INTO "a_b_c" VALUES(1,'b',920058062761);
CREATE TABLE 'c' ('a_b_c' INTEGER,
'c' INTEGER,
'id' INTEGER, FOREIGN KEY(a_b_c) REFERENCES a_b_c(id));
INSERT INTO "c" VALUES(920058062761,1,100085124795);
INSERT INTO "c" VALUES(920058062761,2,227579964876);
INSERT INTO "c" VALUES(920058062761,3,332005862713);
COMMIT;
>>>
"""
Expand Down

0 comments on commit d5a730e

Please sign in to comment.