FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit fe140717 authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

make test_var_name compatible with nosetests3

parent d1e1c627
No related branches found
No related tags found
1 merge request!57Xml auto tests
......@@ -17,7 +17,7 @@ def test_var_names():
data = file.read().replace('\n', '')
lc_vars = [x.lower() for x in variable_re.findall(data)]
doc = lxml.etree.fromstring(data)
doc = lxml.etree.parse(file_name)
pkg_vars = doc.xpath('//variable')
allowed_pkg_vars = [x.get('name') for x in pkg_vars]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment