Skip to content
Snippets Groups Projects
Commit ea177280 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'f-test-parent' into f-update-parents-mitigation

parents f4c158be 8c77ab5a
No related branches found
No related tags found
2 merge requests!53Release 0.1,!19F update parents mitigation
Pipeline #29021 failed
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -22,7 +22,6 @@ extroot:
records:
mdfile:
parents: []
role: File
path: $DataFile
file: $DataFile
......
......@@ -17,7 +17,6 @@ ScientificActivity:
datatype: TEXT
mdfile:
description: The file storing information about this record.
datatype: FILE
Experiment:
description: |
......
......@@ -35,23 +35,13 @@ from caosadvancedtools.models import parser as parser
from caoscrawler.crawl import crawler_main
# TODO(fspreck) Re-eneable once this is part of dev in advancedusertools.
# from caosadvancedtools.testutils import clear_database, set_test_key
# set_test_key("10b128cf8a1372f30aa3697466bb55e76974e0c16a599bb44ace88f19c8f61e2")
from caosdb.utils.register_tests import clear_database, set_test_key
set_test_key("10b128cf8a1372f30aa3697466bb55e76974e0c16a599bb44ace88f19c8f61e2")
DATADIR = os.path.join(os.path.dirname(__file__), "test_data",
"extroot", "use_case_simple_presentation")
@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 test_complete_crawler(
clear_database
):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment