Author: phd
Date: 2005-09-27 20:00:52 +0000 (Tue, 27 Sep 2005)
New Revision: 1045
Modified:
SQLObject/trunk/sqlobject/inheritance/tests/test_deep_inheritance.py
SQLObject/trunk/sqlobject/inheritance/tests/test_inheritance.py
Log:
Minor fixes by alexander smishlajev <al...@an...> in inheritnace tests
for MySQL: MySQL cannot create indicies on TEXT fields.
Modified: SQLObject/trunk/sqlobject/inheritance/tests/test_deep_inheritance.py
===================================================================
--- SQLObject/trunk/sqlobject/inheritance/tests/test_deep_inheritance.py 2005-09-27 19:26:43 UTC (rev 1044)
+++ SQLObject/trunk/sqlobject/inheritance/tests/test_deep_inheritance.py 2005-09-27 20:00:52 UTC (rev 1045)
@@ -9,7 +9,7 @@
class DIPerson(InheritableSQLObject):
firstName = StringCol()
- lastName = StringCol(alternateID=True)
+ lastName = StringCol(alternateID=True, length=255)
manager = ForeignKey("DIManager", default=None)
class DIEmployee(DIPerson):
Modified: SQLObject/trunk/sqlobject/inheritance/tests/test_inheritance.py
===================================================================
--- SQLObject/trunk/sqlobject/inheritance/tests/test_inheritance.py 2005-09-27 19:26:43 UTC (rev 1044)
+++ SQLObject/trunk/sqlobject/inheritance/tests/test_inheritance.py 2005-09-27 20:00:52 UTC (rev 1045)
@@ -9,7 +9,7 @@
class InheritablePerson(InheritableSQLObject):
firstName = StringCol()
- lastName = StringCol(alternateID=True)
+ lastName = StringCol(alternateID=True, length=255)
class Employee(InheritablePerson):
_inheritable = False
|