Skip to content

Commit a1be3a4

Browse files
committed
reorder tests
1 parent bd69f6f commit a1be3a4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spanner/cloud-client/backup_sample_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ def test_restore_database(capsys):
7979
assert BACKUP_ID in out
8080

8181

82-
def test_update_backup(capsys):
83-
backup_sample.update_backup(INSTANCE_ID, BACKUP_ID)
84-
out, _ = capsys.readouterr()
85-
assert BACKUP_ID in out
86-
87-
8882
def test_list_backup_operations(capsys, spanner_instance):
8983
backup_sample.list_backup_operations(INSTANCE_ID, DATABASE_ID)
9084
out, _ = capsys.readouterr()
@@ -99,6 +93,12 @@ def test_list_backups(capsys, spanner_instance):
9993
assert id_count == 7
10094

10195

96+
def test_update_backup(capsys):
97+
backup_sample.update_backup(INSTANCE_ID, BACKUP_ID)
98+
out, _ = capsys.readouterr()
99+
assert BACKUP_ID in out
100+
101+
102102
def test_delete_backup(capsys, spanner_instance):
103103
backup_sample.delete_backup(INSTANCE_ID, BACKUP_ID)
104104
out, _ = capsys.readouterr()

0 commit comments

Comments
 (0)