Skip to content
Snippets Groups Projects
Verified Commit 8bb010fe authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent 07f64671
No related branches found
No related tags found
1 merge request!26pipeline
Pipeline #19075 passed
...@@ -43,7 +43,7 @@ from caosdb.utils.checkFileSystemConsistency import runCheck ...@@ -43,7 +43,7 @@ from caosdb.utils.checkFileSystemConsistency import runCheck
def setup_module(): def setup_module():
teardown_function(function) teardown_function(None)
def setup_function(function): def setup_function(function):
......
...@@ -36,7 +36,7 @@ def setup_module(): ...@@ -36,7 +36,7 @@ def setup_module():
def teardown_module(): def teardown_module():
teardown_function(function) teardown_function(None)
def setup_function(function): def setup_function(function):
...@@ -171,11 +171,11 @@ def test_recordtpye_insertion_with_indirect_child_with_new_parent(): ...@@ -171,11 +171,11 @@ def test_recordtpye_insertion_with_indirect_child_with_new_parent():
def assert_same_unique_results(call, queries): def assert_same_unique_results(call, queries):
setup(None) setup_function(None)
rtid = call().id rtid = call().id
for q in queries: for q in queries:
assert_equal(db.execute_query(q, unique=True).id, rtid) assert_equal(db.execute_query(q, unique=True).id, rtid)
teardown_function(function) teardown_function(None)
def test_recordtype_query(): def test_recordtype_query():
...@@ -214,7 +214,7 @@ def test_query_name_property(): ...@@ -214,7 +214,7 @@ def test_query_name_property():
with raises(db.BadQueryError): with raises(db.BadQueryError):
db.execute_query("FIND John", unique=True) db.execute_query("FIND John", unique=True)
teardown_function(function) teardown_function(None)
# test behavior WITH the name parent # test behavior WITH the name parent
db.RecordType("TestPerson").insert() db.RecordType("TestPerson").insert()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment