Project

General

Profile

« Previous | Next » 

Revision 2859

sql_gen.py: MockDb: Added col_info()

View differences:

lib/sql_gen.py
49 49
    def esc_value(self, value): return strings.repr_no_u(value)
50 50
    
51 51
    def esc_name(self, name): return esc_name(name)
52
    
53
    def col_info(self, col):
54
        return TypedCol(col.name, '<type>', CustomCode('<default>'), True)
55

  
52 56
mockDb = MockDb()
53 57

  
54 58
class BasicObject(objects.BasicObject):

Also available in: Unified diff