Skip to content
Snippets Groups Projects
Commit 2731154c authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

TST: Remove obsolete fixture from integration test

parent 0365f085
Branches
Tags
2 merge requests!162DOC WIP: Tutorial: Single structured file,!161F pylint
Pipeline #48508 passed
...@@ -91,15 +91,6 @@ def usemodel(): ...@@ -91,15 +91,6 @@ def usemodel():
dataset_inherits.sync_data_model(noquestion=True) 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(): def create_identifiable_adapter():
ident = CaosDBIdentifiableAdapter() ident = CaosDBIdentifiableAdapter()
ident.load_from_yaml_definition(os.path.join(DATADIR, "identifiables.yml")) ident.load_from_yaml_definition(os.path.join(DATADIR, "identifiables.yml"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment