mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 10:59:43 +00:00
Finish out effort of adding and enabling blockbuster in tests (#5735)
* Finish out effort of adding and enabling blockbuster * Skip getting addon file size until securetar fixed * Fix test for devcontainer and blocking I/O * Fix docker fixture and load_config to post_init
This commit is contained in:
@@ -55,7 +55,7 @@ async def test_apparmor_multiple_profiles(caplog: pytest.LogCaptureFixture):
|
||||
)
|
||||
|
||||
|
||||
async def test_apparmor_profile_adjust(tmp_path: Path):
|
||||
def test_apparmor_profile_adjust(tmp_path: Path):
|
||||
"""Test apparmor profile adjust."""
|
||||
profile_out = tmp_path / "apparmor_out.txt"
|
||||
adjust_profile("test", get_fixture_path("apparmor_valid.txt"), profile_out)
|
||||
@@ -63,7 +63,7 @@ async def test_apparmor_profile_adjust(tmp_path: Path):
|
||||
assert profile_out.read_text(encoding="utf-8") == TEST_PROFILE
|
||||
|
||||
|
||||
async def test_apparmor_profile_adjust_mediate(tmp_path: Path):
|
||||
def test_apparmor_profile_adjust_mediate(tmp_path: Path):
|
||||
"""Test apparmor profile adjust when name matches a flag."""
|
||||
profile_out = tmp_path / "apparmor_out.txt"
|
||||
adjust_profile("test", get_fixture_path("apparmor_valid_mediate.txt"), profile_out)
|
||||
|
||||
Reference in New Issue
Block a user