Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
RuQaD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
FAIR Data Spaces
RuQaD
Commits
ba85c5da
Commit
ba85c5da
authored
5 months ago
by
Alexander Schlemmer
Browse files
Options
Downloads
Patches
Plain Diff
resolved merge conflicts and removed pylinkahead.ini
parent
40946418
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
end-to-end-tests/test_crawler.py
+12
-0
12 additions, 0 deletions
end-to-end-tests/test_crawler.py
pylinkahead.ini
+0
-37
0 additions, 37 deletions
pylinkahead.ini
with
12 additions
and
37 deletions
end-to-end-tests/test_crawler.py
+
12
−
0
View file @
ba85c5da
...
@@ -24,6 +24,7 @@ from pathlib import Path
...
@@ -24,6 +24,7 @@ from pathlib import Path
from
ruqad.crawler
import
trigger_crawler
from
ruqad.crawler
import
trigger_crawler
DATADIR
=
Path
(
__file__
).
parent
/
"
data
"
/
"
crawler_data
"
DATADIR
=
Path
(
__file__
).
parent
/
"
data
"
/
"
crawler_data
"
BROKEN_DATADIR
=
Path
(
__file__
).
parent
/
"
data
"
/
"
broken_crawler_data
"
def
test_crawl
(
capsys
):
def
test_crawl
(
capsys
):
...
@@ -63,3 +64,14 @@ def test_crawl(capsys):
...
@@ -63,3 +64,14 @@ def test_crawl(capsys):
assert
type
(
qc
[
d
].
get_property
(
"
numPassingChecks
"
).
value
)
==
int
assert
type
(
qc
[
d
].
get_property
(
"
numPassingChecks
"
).
value
)
==
int
assert
qc
[
d
].
get_property
(
"
numTotalChecks
"
).
value
==
total
assert
qc
[
d
].
get_property
(
"
numTotalChecks
"
).
value
==
total
assert
qc
[
d
].
get_property
(
"
numPassingChecks
"
).
value
==
passed
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
This diff is collapsed.
Click to expand it.
pylinkahead.ini
deleted
100644 → 0
+
0
−
37
View file @
40946418
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment