test_start_next_batch_build_repo_building: actually try to start the batch

This commit is contained in:
Owen W. Taylor
2020-11-10 11:47:02 -05:00
committed by breilly
parent c76bc32380
commit 8ab293dc9e

View File

@@ -421,6 +421,8 @@ class TestBatches:
builder = mock.MagicMock()
builder.buildroot_ready.return_value = False
start_next_batch_build(conf, module_build, builder)
module_build = models.ModuleBuild.get_by_id(db_session, 3)
# Batch number should not increase.