Coverage self-seeds + refresh_pattern_coverage tool + shape-accounting skill (#2802) #116
@@ -328,6 +328,7 @@ async def test_enter_project_never_asks_bootstrap_once_a_vocabulary_exists(
|
|||||||
))
|
))
|
||||||
out = await enter_project(project_id=5)
|
out = await enter_project(project_id=5)
|
||||||
assert "systems_bootstrap" not in out
|
assert "systems_bootstrap" not in out
|
||||||
|
_no_bootstrap.assert_not_awaited()
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
@@ -353,7 +354,6 @@ async def test_enter_project_fires_the_coverage_seed_on_the_owner(
|
|||||||
seed.assert_called_once_with(42, 5, cached=None)
|
seed.assert_called_once_with(42, 5, cached=None)
|
||||||
_no_background_seed.assert_called_once()
|
_no_background_seed.assert_called_once()
|
||||||
assert _no_background_seed.call_args.kwargs["site"] == "enter_project.coverage_seed"
|
assert _no_background_seed.call_args.kwargs["site"] == "enter_project.coverage_seed"
|
||||||
_no_bootstrap.assert_not_awaited()
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
|
|||||||
Reference in New Issue
Block a user