[z3-checkins] r33682 - z3/sqlos/trunk/src/sqlos/ftests
jinty at codespeak.net
jinty at codespeak.net
Tue Oct 24 20:27:24 CEST 2006
Author: jinty
Date: Tue Oct 24 20:27:22 2006
New Revision: 33682
Modified:
z3/sqlos/trunk/src/sqlos/ftests/localutilities.txt
Log:
merge from kobold-sqlos branch:
------------------------------------------------------------------------
r31668 | kobold | 2006-08-26 09:19:00 +0200 (Sat, 26 Aug 2006) | 2 lines
Small changes to ftests/localutilities.txt: without them, the functional test fails.
Modified: z3/sqlos/trunk/src/sqlos/ftests/localutilities.txt
==============================================================================
--- z3/sqlos/trunk/src/sqlos/ftests/localutilities.txt (original)
+++ z3/sqlos/trunk/src/sqlos/ftests/localutilities.txt Tue Oct 24 20:27:22 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