[SQL-CVS] r4147 - SQLObject/trunk/sqlobject/tests
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2010-03-22 17:03:10
|
Author: phd
Date: 2010-03-22 11:03:04 -0600 (Mon, 22 Mar 2010)
New Revision: 4147
Modified:
SQLObject/trunk/sqlobject/tests/test_unicode.py
Log:
Merged revision 4145 from branch 0.11:
renamed 'n' (which usually denotes an integer) to 's', i.e. 'string'.
Modified: SQLObject/trunk/sqlobject/tests/test_unicode.py
===================================================================
--- SQLObject/trunk/sqlobject/tests/test_unicode.py 2010-03-22 17:02:39 UTC (rev 4146)
+++ SQLObject/trunk/sqlobject/tests/test_unicode.py 2010-03-22 17:03:04 UTC (rev 4147)
@@ -19,14 +19,14 @@
setupClass(TestUnicode)
if TestUnicode._connection.dbName == 'postgres':
TestUnicode._connection.query('SET client_encoding TO latin1')
- for i, n in enumerate(data):
- items.append(TestUnicode(count=i, col1=n, col2=n))
+ for i, s in enumerate(data):
+ items.append(TestUnicode(count=i, col1=s, col2=s))
def test_create():
setup()
- for n, item in zip(data, items):
+ for s, item in zip(data, items):
+ assert item.col1 == s
assert item.col1 == item.col2
- assert item.col1 == n
conn = TestUnicode._connection
rows = conn.queryAll("""
|