From daae916d4b46350c758c22078d0b78855de56da2 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Fri, 29 Sep 2023 16:05:54 +0200
Subject: [PATCH] Revert "ENH: Test for server issue 235 (too long name)."

This reverts commit 8f28554c645b648cff670dbd40e14fd6b00ae421.
---
 tests/test_issues_server.py | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/tests/test_issues_server.py b/tests/test_issues_server.py
index 9a6f572..7762838 100644
--- a/tests/test_issues_server.py
+++ b/tests/test_issues_server.py
@@ -1432,25 +1432,3 @@ See https://gitlab.indiscale.com/caosdb/src/caosdb-server/-/issues/106
 
     # Existing Property should still be reported as TEXT
     assert db.Record(id=r.id).retrieve().get_property("prop").datatype == db.TEXT
-
-
-@pytest.mark.xfail(reason="https://gitlab.com/caosdb/caosdb-server/-/issues/235")
-def test_235_long_name():
-    """Should give an appropriate error."""
-    length = 256
-    name = "N" * length
-    rt1 = db.RecordType(name=name)
-    try:
-        rt1.insert()
-    except Exception as exc:
-        assert type(Exception) is not db.HTTPServerError
-        # TODO more specific error should be asserted
-
-    rt2 = db.RecordType(name="Short")
-    rt2.insert()
-    rt2.name = name
-    try:
-        rt2.update()
-    except Exception as exc:
-        assert type(Exception) is not db.HTTPServerError
-        # TODO more specific error should be asserted
-- 
GitLab