func assertNoEnvBlock(c *gc.C, st *state.State) { all, err := st.AllBlocks() c.Assert(err, jc.ErrorIsNil) c.Assert(all, gc.HasLen, 0) }