Skip to content

Commit

Permalink
test: cover case where test doesn't have any instances in backfill te…
Browse files Browse the repository at this point in the history
…st flag bridges
  • Loading branch information
joseph-sentry committed Oct 1, 2024
1 parent 4ca001c commit e00f450
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions one_off_scripts/tests/test_backfill_test_flag_bridges.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def setup_tests(transactional_db):
upload_2.flags.set([flag_3])
test_instance_2 = TestInstanceFactory(test=test_2, upload=upload_2)

test_3 = TestFactory(repository_id=repo.repoid)


@pytest.mark.django_db(transaction=True)
def test_it_backfills_test_flag_bridges(setup_tests):
Expand Down

0 comments on commit e00f450

Please sign in to comment.