35
35
cls.dialect = default.DefaultDialect()
37
@profiling.function_call_count(62)
37
@profiling.function_call_count()
38
38
def test_insert(self):
39
39
t1.insert().compile(dialect=self.dialect)
41
@profiling.function_call_count(56)
41
@profiling.function_call_count()
42
42
def test_update(self):
43
43
t1.update().compile(dialect=self.dialect)
45
@profiling.function_call_count(110)
46
45
def test_update_whereclause(self):
47
t1.update().where(t1.c.c2==12).compile(dialect=self.dialect)
49
@profiling.function_call_count(139)
46
t1.update().where(t1.c.c2 == 12).compile(dialect=self.dialect)
48
@profiling.function_call_count()
50
t1.update().where(t1.c.c2 == 12).compile(dialect=self.dialect)
50
53
def test_select(self):
51
s = select([t1], t1.c.c2==t2.c.c1)
52
s.compile(dialect=self.dialect)
54
# give some of the cached type values
56
s = select([t1], t1.c.c2 == t2.c.c1)
57
s.compile(dialect=self.dialect)
59
@profiling.function_call_count()
61
s = select([t1], t1.c.c2 == t2.c.c1)
62
s.compile(dialect=self.dialect)
65
def test_select_labels(self):
66
# give some of the cached type values
68
s = select([t1], t1.c.c2 == t2.c.c1).apply_labels()
69
s.compile(dialect=self.dialect)
71
@profiling.function_call_count()
73
s = select([t1], t1.c.c2 == t2.c.c1).apply_labels()
74
s.compile(dialect=self.dialect)
b'\\ No newline at end of file'