Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Python Integration Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
8bb010fe
Verified
Commit
8bb010fe
authored
Feb 8, 2022
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: pipeline
parent
07f64671
No related branches found
No related tags found
1 merge request
!26
pipeline
Pipeline
#19075
passed
Feb 8, 2022
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_file.py
+1
-1
1 addition, 1 deletion
tests/test_file.py
tests/test_name_properties.py
+4
-4
4 additions, 4 deletions
tests/test_name_properties.py
with
5 additions
and
5 deletions
tests/test_file.py
+
1
−
1
View file @
8bb010fe
...
@@ -43,7 +43,7 @@ from caosdb.utils.checkFileSystemConsistency import runCheck
...
@@ -43,7 +43,7 @@ from caosdb.utils.checkFileSystemConsistency import runCheck
def
setup_module
():
def
setup_module
():
teardown_function
(
functi
on
)
teardown_function
(
N
on
e
)
def
setup_function
(
function
):
def
setup_function
(
function
):
...
...
This diff is collapsed.
Click to expand it.
tests/test_name_properties.py
+
4
−
4
View file @
8bb010fe
...
@@ -36,7 +36,7 @@ def setup_module():
...
@@ -36,7 +36,7 @@ def setup_module():
def
teardown_module
():
def
teardown_module
():
teardown_function
(
functi
on
)
teardown_function
(
N
on
e
)
def
setup_function
(
function
):
def
setup_function
(
function
):
...
@@ -171,11 +171,11 @@ def test_recordtpye_insertion_with_indirect_child_with_new_parent():
...
@@ -171,11 +171,11 @@ def test_recordtpye_insertion_with_indirect_child_with_new_parent():
def
assert_same_unique_results
(
call
,
queries
):
def
assert_same_unique_results
(
call
,
queries
):
setup
(
None
)
setup
_function
(
None
)
rtid
=
call
().
id
rtid
=
call
().
id
for
q
in
queries
:
for
q
in
queries
:
assert_equal
(
db
.
execute_query
(
q
,
unique
=
True
).
id
,
rtid
)
assert_equal
(
db
.
execute_query
(
q
,
unique
=
True
).
id
,
rtid
)
teardown_function
(
functi
on
)
teardown_function
(
N
on
e
)
def
test_recordtype_query
():
def
test_recordtype_query
():
...
@@ -214,7 +214,7 @@ def test_query_name_property():
...
@@ -214,7 +214,7 @@ def test_query_name_property():
with
raises
(
db
.
BadQueryError
):
with
raises
(
db
.
BadQueryError
):
db
.
execute_query
(
"
FIND John
"
,
unique
=
True
)
db
.
execute_query
(
"
FIND John
"
,
unique
=
True
)
teardown_function
(
functi
on
)
teardown_function
(
N
on
e
)
# test behavior WITH the name parent
# test behavior WITH the name parent
db
.
RecordType
(
"
TestPerson
"
).
insert
()
db
.
RecordType
(
"
TestPerson
"
).
insert
()
...
...
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