@@ -136,21 +136,21 @@ def test_sscursor_scroll_relative(self):
136136 conn = self .connections [0 ]
137137 yield self ._prepare ()
138138 cursor = conn .cursor (tornado_mysql .cursors .SSCursor )
139- yield cursor .execute ('SELECT * FROM tbl ;' )
139+ yield cursor .execute ('SELECT * FROM tz_data ;' )
140140 yield cursor .scroll (1 )
141141 ret = yield cursor .fetchone ()
142- self .assertEqual ((2 , 'b ' ), ret )
142+ self .assertEqual (('America' , '' , 'America/Los_Angeles ' ), ret )
143143 yield self ._cleanup ()
144144
145145 @gen_test
146146 def test_sscursor_scroll_absolute (self ):
147147 conn = self .connections [0 ]
148148 yield self ._prepare ()
149149 cursor = conn .cursor (tornado_mysql .cursors .SSCursor )
150- yield cursor .execute ('SELECT * FROM tbl ;' )
150+ yield cursor .execute ('SELECT * FROM tz_data ;' )
151151 yield cursor .scroll (2 , mode = 'absolute' )
152152 ret = yield cursor .fetchone ()
153- self .assertEqual ((3 , 'c ' ), ret )
153+ self .assertEqual (('America' , '' , 'America/Lima ' ), ret )
154154 yield self ._cleanup ()
155155
156156 @gen_test
@@ -159,7 +159,7 @@ def test_sscursor_scroll_errors(self):
159159 conn = self .connections [0 ]
160160 cursor = conn .cursor (tornado_mysql .cursors .SSCursor )
161161
162- yield cursor .execute ('SELECT * FROM tbl ;' )
162+ yield cursor .execute ('SELECT * FROM tz_data ;' )
163163
164164 with self .assertRaises (NotSupportedError ):
165165 yield cursor .scroll (- 2 , mode = 'relative' )
0 commit comments