diff --git a/end-to-end-tests/test_crawler.py b/end-to-end-tests/test_crawler.py index 66e73a6b77acc7249d25cd96147ab053f3422139..b507584257e542436675ec0734fa419736ab678c 100644 --- a/end-to-end-tests/test_crawler.py +++ b/end-to-end-tests/test_crawler.py @@ -24,6 +24,7 @@ from pathlib import Path from ruqad.crawler import trigger_crawler DATADIR = Path(__file__).parent / "data" / "crawler_data" +BROKEN_DATADIR = Path(__file__).parent / "data" / "broken_crawler_data" def test_crawl(capsys): @@ -63,3 +64,14 @@ def test_crawl(capsys): assert type(qc[d].get_property("numPassingChecks").value) == int assert qc[d].get_property("numTotalChecks").value == total assert qc[d].get_property("numPassingChecks").value == passed +# +# +# def test_broken_metadata(): +# print(f"\nData directory: {BROKEN_DATADIR}") +# print(os.listdir(BROKEN_DATADIR)) +# +# retval, ent_qc = trigger_crawler(os.fspath(BROKEN_DATADIR)) +# +# # stdout, stderr = capsys.readouterr() +# +# assert not retval diff --git a/pylinkahead.ini b/pylinkahead.ini deleted file mode 100644 index fb782ac7944295c18eff64df8698a497adf2ef1d..0000000000000000000000000000000000000000 --- a/pylinkahead.ini +++ /dev/null @@ -1,37 +0,0 @@ -# The INI file must be located either in -# - $CWD/pylinkahead.ini -# - $HOME/.pylinkahead.ini -# - the location given in the env variable PYLINKAHEADINI - -[Connection] -# url=https://demo.indiscale.com/ -url=https://localhost:10443/ - -## If this option is set, the SSL certificate will be ignored. Use with care! -ssl_insecure=1 - -username=admin - -## The password input method can be chosen with the `password_method` setting, -## which by default is set to `plain`. -## -## DEFAULT: the password method is `plain`, now the password must be saved as -## plain text. -password_method=input -# password=caosdb - - -## OR: `input`: username is optional, password is entered by the user directly -# password_method=input - -## OR: `pass`: password is retrieved from the "pass" password manager -# password_method=pass -# password_identifier=... - -## OR: `keyring`: using the system keyring/wallet (macOS, GNOME, KDE, Windows) -## requires installation of the keyring python package: -## pip install keyring -# password_method=keyring - -timeout=10000 -