mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	dashboard: Fix file writes on Windows (#6013)
This commit is contained in:
		
				
					committed by
					
						 Jesse Hills
						Jesse Hills
					
				
			
			
				
	
			
			
			
						parent
						
							dc0cc0b431
						
					
				
				
					commit
					7bce999bba
				
			| @@ -13,7 +13,7 @@ def test_write_utf8_file(tmp_path: Path) -> None: | ||||
|     assert tmp_path.joinpath("foo.txt").read_text() == "foo" | ||||
|  | ||||
|     with pytest.raises(OSError): | ||||
|         write_utf8_file(Path("/not-writable"), "bar") | ||||
|         write_utf8_file(Path("/dev/not-writable"), "bar") | ||||
|  | ||||
|  | ||||
| def test_write_file(tmp_path: Path) -> None: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user