From f7bfbb619d5eb9acd746259e1de33b421c0fa935 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 15 Sep 2025 17:24:45 -0500 Subject: [PATCH] cleanup --- tests/dashboard/test_web_server.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/dashboard/test_web_server.py b/tests/dashboard/test_web_server.py index 6b5b2e7e6a..1ca7478fe8 100644 --- a/tests/dashboard/test_web_server.py +++ b/tests/dashboard/test_web_server.py @@ -590,16 +590,12 @@ async def test_archive_request_handler_post( tmp_path: Path, ) -> None: """Test ArchiveRequestHandler.post method without storage_json.""" - - # Set up temp directories config_dir = Path(get_fixture_path("conf")) archive_dir = tmp_path / "archive" - # Create a test configuration file test_config = config_dir / "test_archive.yaml" test_config.write_text("esphome:\n name: test_archive\n") - # Archive the configuration response = await dashboard.fetch( "/archive", method="POST", @@ -608,7 +604,6 @@ async def test_archive_request_handler_post( ) assert response.code == 200 - # Verify file was moved to archive assert not test_config.exists() assert (archive_dir / "test_archive.yaml").exists() assert (