Fixed tests

This commit is contained in:
Bruno Oliveira
2017-03-07 20:47:43 -03:00
parent 272afa9422
commit 337f891d78
7 changed files with 21 additions and 18 deletions

View File

@@ -810,7 +810,10 @@ def test_record_property(testdir):
pnodes = psnode.find_by_tag('property')
pnodes[0].assert_attr(name="bar", value="1")
pnodes[1].assert_attr(name="foo", value="<1")
result.stdout.fnmatch_lines('*C3*test_record_property.py*experimental*')
result.stdout.fnmatch_lines([
'test_record_property.py::test_record',
'record_xml_property*experimental*',
])
def test_record_property_same_name(testdir):
@@ -986,4 +989,4 @@ def test_url_property(testdir):
test_case = minidom.parse(str(path)).getElementsByTagName('testcase')[0]
assert (test_case.getAttribute('url') == test_url), "The URL did not get written to the xml"
assert (test_case.getAttribute('url') == test_url), "The URL did not get written to the xml"