33from sentry .testutils .factories import Factories
44from sentry .testutils .outbox import outbox_runner
55from sentry .testutils .pytest .fixtures import django_db_all
6- from sentry .testutils .silo import assume_test_silo_mode , cell_silo_test , create_test_regions
6+ from sentry .testutils .silo import assume_test_silo_mode , cell_silo_test , create_test_cells
77
88
99@django_db_all (transaction = True )
10- @cell_silo_test (regions = create_test_regions ("us" ), include_monolith_run = True )
10+ @cell_silo_test (cells = create_test_cells ("us" ), include_monolith_run = True )
1111def test_project_key_mapping_claimed_on_create () -> None :
1212 org = Factories .create_organization ()
1313 project = Factories .create_project (organization = org )
@@ -20,7 +20,7 @@ def test_project_key_mapping_claimed_on_create() -> None:
2020
2121
2222@django_db_all (transaction = True )
23- @cell_silo_test (regions = create_test_regions ("us" ), include_monolith_run = True )
23+ @cell_silo_test (cells = create_test_cells ("us" ), include_monolith_run = True )
2424def test_project_key_mappings_deleted_on_project_delete () -> None :
2525 org = Factories .create_organization ()
2626 project = Factories .create_project (organization = org )
@@ -35,7 +35,7 @@ def test_project_key_mappings_deleted_on_project_delete() -> None:
3535
3636
3737@django_db_all (transaction = True )
38- @cell_silo_test (regions = create_test_regions ("us" ), include_monolith_run = True )
38+ @cell_silo_test (cells = create_test_cells ("us" ), include_monolith_run = True )
3939def test_project_key_mapping_deleted_on_key_delete () -> None :
4040 org = Factories .create_organization ()
4141 project = Factories .create_project (organization = org )
@@ -50,7 +50,7 @@ def test_project_key_mapping_deleted_on_key_delete() -> None:
5050
5151
5252@django_db_all (transaction = True )
53- @cell_silo_test (regions = create_test_regions ("us" ), include_monolith_run = True )
53+ @cell_silo_test (cells = create_test_cells ("us" ), include_monolith_run = True )
5454def test_project_key_mapping_no_orphan_when_delete_coalesces_with_key_update () -> None :
5555 """Deletion after a public_key change must not orphan the mapping when outboxes coalesce."""
5656 org = Factories .create_organization ()
@@ -76,7 +76,7 @@ def test_project_key_mapping_no_orphan_when_delete_coalesces_with_key_update() -
7676
7777
7878@django_db_all (transaction = True )
79- @cell_silo_test (regions = create_test_regions ("us" ), include_monolith_run = True )
79+ @cell_silo_test (cells = create_test_cells ("us" ), include_monolith_run = True )
8080def test_project_key_mapping_no_orphan_on_public_key_override () -> None :
8181 """
8282 When write_relocation_import overwrites an auto-created ProjectKey with a different
0 commit comments