Skip to content

Commit 2018cf1

Browse files
fix the record_property test
1 parent 7c0c91a commit 2018cf1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

testing/test_junitxml.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -868,16 +868,13 @@ def other(record_property):
868868
def test_record(record_property, other):
869869
record_property("foo", "<1");
870870
""")
871-
result, dom = runandparse(testdir, '-rw')
871+
result, dom = runandparse(testdir, '-rwv')
872872
node = dom.find_first_by_tag("testsuite")
873873
tnode = node.find_first_by_tag("testcase")
874874
psnode = tnode.find_first_by_tag('properties')
875875
pnodes = psnode.find_by_tag('property')
876876
pnodes[0].assert_attr(name="bar", value="1")
877877
pnodes[1].assert_attr(name="foo", value="<1")
878-
result.stdout.fnmatch_lines([
879-
'test_record_property.py::test_record',
880-
])
881878

882879

883880
def test_record_property_same_name(testdir):

0 commit comments

Comments
 (0)