From 33e071f4ab4ad7838dd865c45236f1e68619a02c Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Fri, 24 Apr 2020 15:33:25 +0200 Subject: [PATCH] TST: mark test_empty_text_value as XFAIL --- tests/test_empty_text_value.py | 2 ++ tests/test_issues_server.py | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_empty_text_value.py b/tests/test_empty_text_value.py index b5d6165..b197b72 100644 --- a/tests/test_empty_text_value.py +++ b/tests/test_empty_text_value.py @@ -39,6 +39,7 @@ def teardown(): print(e) +@pytest.mark.xfail(reason="""wait for f-empty-and-null-values branch of pylib""") def test_empty_string(): r1 = db.Record() r1.add_parent("TestRT") @@ -94,6 +95,7 @@ def test_null_value(): assert len(db.execute_query("FIND Record TestRT")) == 2 +@pytest.mark.xfail(reason="""wait for f-empty-and-null-values branch of pylib""") def test_list_with_empty_string(): r1 = db.Record() r1.add_parent("TestRT") diff --git a/tests/test_issues_server.py b/tests/test_issues_server.py index 9b866dd..3b24e1f 100644 --- a/tests/test_issues_server.py +++ b/tests/test_issues_server.py @@ -24,7 +24,6 @@ """Tests for issues on gitlab.com, project caosdb-mysqlbackend.""" import caosdb as db -from nose import with_setup def setup_module(): @@ -46,7 +45,6 @@ def teardown(): # ########################### Issue tests start here ########################### -@with_setup(setup, teardown) def test_issue_85_a(): """SQLIntegrityConstraintViolationException for special inheritance patterns. @@ -71,7 +69,6 @@ def test_issue_85_a(): # # Duplicate entry '12345-12346-12345' for key 'PRIMARY' -@with_setup(setup, teardown) def test_issue_85_b(): """SQLIntegrityConstraintViolationException for special inheritance patterns. -- GitLab