From 8f7ff9d5f47b4d360120867cb785b56866f0974e Mon Sep 17 00:00:00 2001 From: Martin Wendt Date: Wed, 16 Oct 2024 19:35:17 +0200 Subject: [PATCH] lxml is optional! --- tests/test_util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_util.py b/tests/test_util.py index 54e0aa2..9791cbf 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -9,8 +9,6 @@ import unittest from io import StringIO -from lxml import etree - from wsgidav import xml_tools from wsgidav.util import ( BASE_LOGGER_NAME, @@ -32,6 +30,7 @@ to_str, update_headers_in_place, ) +from wsgidav.xml_tools import etree class BasicTest(unittest.TestCase):