releasetools: Move assertions into CheckHeadroom().
Assert the input arguments inside CheckHeadroom() function, and add matching tests. Also use common.MakeTemp{File,Dir} in tests. Test: `m dist` Test: python -m unittest test_build_image Change-Id: Ib45f24651af9591a9cfdd72aac3558f6c9a80f44
Loading
Please register or sign in to comment