From 2731154cf8d414cba6cc9eec01d4d33c4a9d8334 Mon Sep 17 00:00:00 2001
From: fspreck <f.spreckelsen@indiscale.com>
Date: Wed, 13 Mar 2024 10:53:47 +0100
Subject: [PATCH] TST: Remove obsolete fixture from integration test

---
 integrationtests/test_realworld_example.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/integrationtests/test_realworld_example.py b/integrationtests/test_realworld_example.py
index 82644947..551fb0c1 100644
--- a/integrationtests/test_realworld_example.py
+++ b/integrationtests/test_realworld_example.py
@@ -91,15 +91,6 @@ def usemodel():
     dataset_inherits.sync_data_model(noquestion=True)
 
 
-@pytest.fixture
-def clear_database():
-    # TODO(fspreck): Remove once the corresponding advancedtools function can
-    # be used.
-    ents = db.execute_query("FIND ENTITY WITH ID>99")
-    if ents:
-        ents.delete()
-
-
 def create_identifiable_adapter():
     ident = CaosDBIdentifiableAdapter()
     ident.load_from_yaml_definition(os.path.join(DATADIR, "identifiables.yml"))
-- 
GitLab