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
63f3868a
Verified
Commit
63f3868a
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
STY: autopep8'ed test_issues_server.py
parent
ea5eb34e
No related branches found
No related tags found
No related merge requests found
Pipeline
#21728
passed
3 years ago
Stage: info
Stage: cert
Stage: style
Stage: test
Stage: deploy
Changes
1
Pipelines
24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_issues_server.py
+4
-4
4 additions, 4 deletions
tests/test_issues_server.py
with
4 additions
and
4 deletions
tests/test_issues_server.py
+
4
−
4
View file @
63f3868a
...
...
@@ -44,7 +44,7 @@ def setup_function(function):
def
teardown_function
(
function
):
"""
Deleting entities again.
"""
pass
#
setup_module()
pass
#
setup_module()
# ########################### Issue tests start here #####################
...
...
@@ -726,7 +726,6 @@ def test_134_1():
r_ds
=
db
.
Record
().
add_parent
(
"
DataSet
"
).
add_property
(
"
events
"
,
value
=
[
r_ev_1
,
r_ev_2
]).
insert
()
result
=
db
.
execute_query
(
"
SELECT events.latitude FROM RECORD DataSet
"
,
unique
=
True
)
print
(
result
)
...
...
@@ -734,6 +733,7 @@ def test_134_1():
assert
result
.
get_property
(
"
events
"
).
value
[
0
].
get_property
(
"
latitude
"
).
value
==
0.1
assert
result
.
get_property
(
"
events
"
).
value
[
1
].
get_property
(
"
latitude
"
).
value
==
0.2
def
test_134_2
():
"""
CQL: Subproperties are not recognized in list of references.
...
...
@@ -752,8 +752,8 @@ def test_134_2():
0.2
).
add_property
(
"
latitude
"
,
0.2
).
insert
()
r_ds
=
db
.
Record
().
add_parent
(
"
DataSet
"
).
add_property
(
"
Event
"
,
datatype
=
db
.
LIST
(
rt_ev
),
value
=
[
r_ev_1
,
r_ev_2
]).
insert
()
r_ds
=
db
.
Record
().
add_parent
(
"
DataSet
"
).
add_property
(
"
Event
"
,
datatype
=
db
.
LIST
(
rt_ev
),
value
=
[
r_ev_1
,
r_ev_2
]).
insert
()
result
=
db
.
execute_query
(
"
SELECT Event.latitude FROM RECORD DataSet
"
,
unique
=
True
)
...
...
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