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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
2ecb521c
Verified
Commit
2ecb521c
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
TST: confirming test for
caosdb-server#181
parent
1c7005d3
No related branches found
No related tags found
1 merge request
!21
F cql updated filter
Pipeline
#13987
failed
3 years ago
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_issues_server.py
+12
-0
12 additions, 0 deletions
tests/test_issues_server.py
with
12 additions
and
0 deletions
tests/test_issues_server.py
+
12
−
0
View file @
2ecb521c
...
...
@@ -435,3 +435,15 @@ def test_issue_170():
p2
=
db
.
execute_query
(
"
FIND TestProp3
"
,
unique
=
True
)
assert
p2
.
datatype
==
db
.
LIST
(
db
.
INTEGER
)
assert
p2
.
value
==
[
1
,
2
]
def
test_issue_181
():
"""
https://gitlab.indiscale.com/caosdb/src/caosdb-server/-/issues/181
"""
rt
=
db
.
RecordType
(
"
TestRT
"
).
insert
()
assert
len
(
db
.
execute_query
(
"
FIND RECORDTYPE TestRT
"
))
==
1
assert
len
(
db
.
execute_query
(
"
FIND RECORDTYPE TestRT WHICH HAS BEEN UPDATED TODAY
"
))
==
0
rt
.
description
=
"
New description
"
rt
.
update
()
assert
len
(
db
.
execute_query
(
"
FIND RECORDTYPE TestRT WHICH HAS BEEN UPDATED TODAY
"
))
==
1
This diff is collapsed.
Click to expand it.
Timm Fitschen
@timm
mentioned in issue
caosdb-server#181 (closed)
·
3 years ago
mentioned in issue
caosdb-server#181 (closed)
mentioned in issue caosdb-server#181
Toggle commit list
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