> creating non-dynamic forms of the failing tests, like 2 or 3 > of them (i.e. one or two concretes, one "sisters=True" test), will > save me the trouble of going through this script and extracting > them myself. here. The thing generates them now itself.
$python sa_ref_A_B_A_all.py relink generate_testfile
.... 34 of 115 failed
$ python _test_AB_cases.py
.... 34 of 115 failed
(u can give -v, echo, debug, dump on commandline of _test*.py)
maybe simplest one of them: tableinh, A=None B=A1 BA=None
$ py _test_AB_cases.py
AB.test_AB_inh_tableinh__poly_1__Alink_None__Blink_A1__BAlink_None
config: dump=False, echo=False, session_clear=True, debug=False
----------------------------------------------------------------------
Traceback (most recent call last):
File "_test_AB_cases.py", line 5077, in
test_AB_inh_tableinh__poly_1__Alink_None__Blink_A1__BAlink_None
me.query( session, A,B, table_A,table_B, a.id, b.id, sa,sb,
samulti, sbmulti )
File "/home/az/src/hor-trunk/model/db/sa_o2rm/tests/sa_gentestbase.py",
line 40, in query
me.assertEqual( sb, str(q))
AssertionError: 'B( id=2 name=ben data2=gun link2=>a1 )' != 'B( id=2
name=ben data2=gun link2=>anna )'
----------------------------------------------------------------------
all of the failures are of this kind.
hmm... extractng the failed case from that 110-functions file is not a
pleasant job... Maybe i should put each in separate file then...
tomorrow.
ciao
svil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---
sa_AB_combinations.tbz
Description: application/tbz
