Skip to content

Commit

Permalink
Test etree import error
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Apr 27, 2024
1 parent 78c6824 commit 94f38cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/test/test_publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class PublishTest(unittest.TestCase):
old_locale = None
details = [UnitTestSuite('suite', 7, 3, 2, 1, 'std-out', 'std-err')]

def test_etree(self):
from lxml import etree
etree.fromstring('<?xml version="1.0"?><tag></tag>')

def test_get_json_path(self):
detail = {'a': 'A', 'b': 'B', 'c': ['d'], 'e': {}, 'f': None}
json = {'id': 1, 'name': 'Name', 'detail': detail}
Expand Down

0 comments on commit 94f38cb

Please sign in to comment.