From 8bb010feeb09d3e13507d3b212f7c0e4767165e8 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Tue, 8 Feb 2022 17:30:20 +0100 Subject: [PATCH] WIP: pipeline --- tests/test_file.py | 2 +- tests/test_name_properties.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_file.py b/tests/test_file.py index b6db06e..67d9c1e 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -43,7 +43,7 @@ from caosdb.utils.checkFileSystemConsistency import runCheck def setup_module(): - teardown_function(function) + teardown_function(None) def setup_function(function): diff --git a/tests/test_name_properties.py b/tests/test_name_properties.py index d02d61d..c389945 100644 --- a/tests/test_name_properties.py +++ b/tests/test_name_properties.py @@ -36,7 +36,7 @@ def setup_module(): def teardown_module(): - teardown_function(function) + teardown_function(None) def setup_function(function): @@ -171,11 +171,11 @@ def test_recordtpye_insertion_with_indirect_child_with_new_parent(): def assert_same_unique_results(call, queries): - setup(None) + setup_function(None) rtid = call().id for q in queries: assert_equal(db.execute_query(q, unique=True).id, rtid) - teardown_function(function) + teardown_function(None) def test_recordtype_query(): @@ -214,7 +214,7 @@ def test_query_name_property(): with raises(db.BadQueryError): db.execute_query("FIND John", unique=True) - teardown_function(function) + teardown_function(None) # test behavior WITH the name parent db.RecordType("TestPerson").insert() -- GitLab