@@ -178,18 +178,6 @@ def test_update_data_with_timestamp(capsys):
178
178
assert 'Updated data' in out
179
179
180
180
181
- def test_add_numeric_column (capsys ):
182
- snippets .add_numeric_column (INSTANCE_ID , DATABASE_ID )
183
- out , _ = capsys .readouterr ()
184
- assert 'Altered table "Venue" on database ' in out
185
-
186
-
187
- def test_update_data_with_numeric (capsys ):
188
- snippets .update_data_with_numeric (INSTANCE_ID , DATABASE_ID )
189
- out , _ = capsys .readouterr ()
190
- assert 'Updated data' in out
191
-
192
-
193
181
def test_query_data_with_timestamp (capsys ):
194
182
snippets .query_data_with_timestamp (INSTANCE_ID , DATABASE_ID )
195
183
out , _ = capsys .readouterr ()
@@ -374,6 +362,18 @@ def test_query_data_with_string(capsys):
374
362
assert 'VenueId: 42, VenueName: Venue 42' in out
375
363
376
364
365
+ def test_add_numeric_column (capsys ):
366
+ snippets .add_numeric_column (INSTANCE_ID , DATABASE_ID )
367
+ out , _ = capsys .readouterr ()
368
+ assert 'Altered table "Venue" on database ' in out
369
+
370
+
371
+ def test_update_data_with_numeric (capsys ):
372
+ snippets .update_data_with_numeric (INSTANCE_ID , DATABASE_ID )
373
+ out , _ = capsys .readouterr ()
374
+ assert 'Updated data' in out
375
+
376
+
377
377
def test_query_data_with_numeric_parameter (capsys ):
378
378
snippets .query_data_with_numeric_parameter (INSTANCE_ID , DATABASE_ID )
379
379
out , _ = capsys .readouterr ()
0 commit comments