Skip to content
Snippets Groups Projects
Commit a1de8edb authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

TST: test info is no longer added in records file

parent 76505904
No related branches found
No related tags found
1 merge request!53Release 0.1
......@@ -115,6 +115,9 @@ def test_single_insertion(clear_database, usemodel, crawler):
# This test also generates the file records.xml used in some of the unittesets:
res = db.execute_query("FIND Record")
for i in reversed(range(len(res))):
if res[i].parents[0].name == "PyTestInfo":
del res[i]
filename = rfp("..", "unittests", "records.xml")
with open(filename, "w") as f:
xml = res.to_xml()
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment