Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 2dd813f

Browse files
committed
fixed lint
1 parent 4a2626a commit 2dd813f

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

tests/system/data/test_metrics_async.py

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ async def authorized_view(
225225
yield table
226226

227227
@pytest.mark.skipif(
228-
bool(os.environ.get(BIGTABLE_EMULATOR)), reason="emulator doesn't suport cluster_config"
228+
bool(os.environ.get(BIGTABLE_EMULATOR)),
229+
reason="emulator doesn't suport cluster_config",
229230
)
230231
@CrossSync.pytest
231232
async def test_mutate_row(self, table, temp_rows, handler, cluster_config):
@@ -353,7 +354,8 @@ async def test_mutate_row_failure_timeout(self, table, temp_rows, handler):
353354
assert attempt.gfe_latency_ns is None
354355

355356
@pytest.mark.skipif(
356-
bool(os.environ.get(BIGTABLE_EMULATOR)), reason="emulator doesn't suport cluster_config"
357+
bool(os.environ.get(BIGTABLE_EMULATOR)),
358+
reason="emulator doesn't suport cluster_config",
357359
)
358360
@CrossSync.pytest
359361
async def test_mutate_row_failure_unauthorized(
@@ -395,7 +397,8 @@ async def test_mutate_row_failure_unauthorized(
395397
)
396398

397399
@pytest.mark.skipif(
398-
bool(os.environ.get(BIGTABLE_EMULATOR)), reason="emulator doesn't suport cluster_config"
400+
bool(os.environ.get(BIGTABLE_EMULATOR)),
401+
reason="emulator doesn't suport cluster_config",
399402
)
400403
@CrossSync.pytest
401404
async def test_mutate_row_failure_unauthorized_with_retries(
@@ -437,7 +440,8 @@ async def test_mutate_row_failure_unauthorized_with_retries(
437440
assert attempt.end_status.name in ["PERMISSION_DENIED", "DEADLINE_EXCEEDED"]
438441

439442
@pytest.mark.skipif(
440-
bool(os.environ.get(BIGTABLE_EMULATOR)), reason="emulator doesn't suport cluster_config"
443+
bool(os.environ.get(BIGTABLE_EMULATOR)),
444+
reason="emulator doesn't suport cluster_config",
441445
)
442446
@CrossSync.pytest
443447
async def test_sample_row_keys(self, table, temp_rows, handler, cluster_config):
@@ -515,9 +519,9 @@ async def test_sample_row_keys_failure_cancelled(
515519
assert final_attempt.end_status.name == "UNKNOWN"
516520
assert final_attempt.gfe_latency_ns is None
517521

518-
519522
@pytest.mark.skipif(
520-
bool(os.environ.get(BIGTABLE_EMULATOR)), reason="emulator doesn't suport cluster_config"
523+
bool(os.environ.get(BIGTABLE_EMULATOR)),
524+
reason="emulator doesn't suport cluster_config",
521525
)
522526
@CrossSync.pytest
523527
async def test_sample_row_keys_failure_with_retries(
@@ -619,9 +623,9 @@ async def test_sample_row_keys_failure_mid_stream(
619623
final_attempt = handler.completed_attempts[-1]
620624
assert final_attempt.end_status.name == "PERMISSION_DENIED"
621625

622-
623626
@pytest.mark.skipif(
624-
bool(os.environ.get(BIGTABLE_EMULATOR)), reason="emulator doesn't suport cluster_config"
627+
bool(os.environ.get(BIGTABLE_EMULATOR)),
628+
reason="emulator doesn't suport cluster_config",
625629
)
626630
@CrossSync.pytest
627631
async def test_read_modify_write(self, table, temp_rows, handler, cluster_config):
@@ -787,7 +791,8 @@ async def test_read_modify_write_failure_unauthorized(
787791
)
788792

789793
@pytest.mark.skipif(
790-
bool(os.environ.get(BIGTABLE_EMULATOR)), reason="emulator doesn't suport cluster_config"
794+
bool(os.environ.get(BIGTABLE_EMULATOR)),
795+
reason="emulator doesn't suport cluster_config",
791796
)
792797
@CrossSync.pytest
793798
async def test_check_and_mutate_row(
@@ -940,7 +945,8 @@ async def test_check_and_mutate_row_failure_timeout(
940945
assert attempt.gfe_latency_ns is None
941946

942947
@pytest.mark.skipif(
943-
bool(os.environ.get(BIGTABLE_EMULATOR)), reason="emulator doesn't suport cluster_config"
948+
bool(os.environ.get(BIGTABLE_EMULATOR)),
949+
reason="emulator doesn't suport cluster_config",
944950
)
945951
@CrossSync.pytest
946952
async def test_check_and_mutate_row_failure_unauthorized(

0 commit comments

Comments
 (0)