Skip to content

Commit

Permalink
fix parser in beautiful soup
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Sep 13, 2023
1 parent 2f04b5b commit 17a1859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapentity/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_gpx_elevation(self):
return # Abstract test should not run
obj = self.modelfactory.create()
response = self.client.get(self.model.get_format_list_url() + '?format=gpx')
parsed = BeautifulSoup(response.content, 'lxml')
parsed = BeautifulSoup(response.content, features="xml")
if hasattr(obj, 'geom_3d'):
self.assertGreater(len(parsed.findAll('ele')), 0)
else:
Expand Down

0 comments on commit 17a1859

Please sign in to comment.