[z3-checkins] r31668 - z3/sqlos/branch/kobold-sqlos/src/sqlos/ftests
kobold at codespeak.net
kobold at codespeak.net
Sat Aug 26 09:19:01 CEST 2006
Author: kobold
Date: Sat Aug 26 09:19:00 2006
New Revision: 31668
Modified:
z3/sqlos/branch/kobold-sqlos/src/sqlos/ftests/localutilities.txt
Log:
Small changes to ftests/localutilities.txt: without them, the functional test fails.
Modified: z3/sqlos/branch/kobold-sqlos/src/sqlos/ftests/localutilities.txt
==============================================================================
--- z3/sqlos/branch/kobold-sqlos/src/sqlos/ftests/localutilities.txt (original)
+++ z3/sqlos/branch/kobold-sqlos/src/sqlos/ftests/localutilities.txt Sat Aug 26 09:19:00 2006
@@ -63,19 +63,19 @@
there is currently no support for local sites in testcode.
>>> cursor = localUtility().cursor()
- >>> cursor.execute(
+ >>> c = cursor.execute(
... '''create table dog (
... id integer primary key,
... fullname varchar(50) not null,
... owner varchar(20) not null)''')
- >>> cursor.execute(
+ >>> c = cursor.execute(
... '''create table sample_isolated_person (
... id integer primary key,
... domains text,
... fullname varchar(50) not null,
... username varchar(20) not null,
... password varchar(20) not null)''')
- >>> cursor.execute(
+ >>> c = cursor.execute(
... '''create table sample_person (
... id integer primary key,
... fullname varchar(50),
@@ -114,6 +114,6 @@
And now try to see if the person has been actually created in the localUtility:
>>> cursor = localUtility().cursor()
- >>> cursor.execute("""select * from sample_person""")
+ >>> c = cursor.execute("""select * from sample_person""")
>>> cursor.fetchone()
[1, u'Bob', u'bob', u'obo']
More information about the z3-checkins
mailing list