|
16 | 16 | import uuid |
17 | 17 |
|
18 | 18 | from google.api_core import exceptions |
19 | | -from google.cloud import spanner |
20 | 19 | import pytest |
21 | 20 | from test_utils.retry import RetryErrors |
22 | 21 |
|
@@ -205,6 +204,7 @@ def test_add_index(capsys, instance_id, sample_database): |
205 | 204 | out, _ = capsys.readouterr() |
206 | 205 | assert "Added the AlbumsByAlbumTitle index" in out |
207 | 206 |
|
| 207 | + |
208 | 208 | @pytest.mark.dependency(depends=["add_index"]) |
209 | 209 | def test_read_data_with_index(capsys, instance_id, sample_database): |
210 | 210 | snippets.read_data_with_index(instance_id, sample_database.database_id) |
@@ -397,25 +397,13 @@ def test_query_data_with_string(capsys, instance_id, sample_database): |
397 | 397 | assert "VenueId: 42, VenueName: Venue 42" in out |
398 | 398 |
|
399 | 399 |
|
400 | | -@pytest.mark.dependency( |
401 | | - name="add_numeric_column", |
402 | | - depends=["create_table_with_datatypes"], |
403 | | -) |
404 | | - |
405 | | - |
406 | 400 | @pytest.mark.dependency(depends=["add_numeric_column"]) |
407 | 401 | def test_query_data_with_numeric_parameter(capsys, instance_id, sample_database): |
408 | 402 | snippets.query_data_with_numeric_parameter(instance_id, sample_database.database_id) |
409 | 403 | out, _ = capsys.readouterr() |
410 | 404 | assert "VenueId: 4, Revenue: 35000" in out |
411 | 405 |
|
412 | 406 |
|
413 | | -@pytest.mark.dependency( |
414 | | - name="add_json_column", |
415 | | - depends=["create_table_with_datatypes"], |
416 | | -) |
417 | | - |
418 | | - |
419 | 407 | @pytest.mark.dependency(depends=["insert_datatypes_data"]) |
420 | 408 | def test_query_data_with_timestamp_parameter(capsys, instance_id, sample_database): |
421 | 409 | snippets.query_data_with_timestamp_parameter( |
|
0 commit comments