Update of /cvsroot/webware/Webware/MiddleKit/Tests/MKObjRef.mkmodel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18927/Tests/MKObjRef.mkmodel
Modified Files:
TestEmpty1.py
Added Files:
Settings1.config Settings2.config Settings3.config
Log Message:
- split obj ref SQL columns in two (class id and obj id)
- merge SQLGenerater.config into Settings.config
- see release notes for details
--- NEW FILE: Settings1.config ---
{
'UseBigIntObjRefColumns': False,
# 'SQLLog': { 'File': 'stdout', },
}
--- NEW FILE: Settings2.config ---
{
'UseBigIntObjRefColumns': False,
'ObjRefSuffixes': ('ClassSerialNumber', 'ObjectSerialNumber'),
}
--- NEW FILE: Settings3.config ---
{
'UseBigIntObjRefColumns': True,
}
Index: TestEmpty1.py
===================================================================
RCS file: /cvsroot/webware/Webware/MiddleKit/Tests/MKObjRef.mkmodel/TestEmpty1.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestEmpty1.py 3 May 2002 14:26:31 -0000 1.2
--- TestEmpty1.py 24 Feb 2004 02:04:14 -0000 1.3
***************
*** 23,26 ****
--- 23,27 ----
f1 = b.foo()
f2 = b.foo()
+ assert f1 is not None, 'got None instead of a Foo'
assert f1 is f2 # test uniqueness
assert b.foo().x()==3
|