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
aac37ca8
Commit
aac37ca8
authored
4 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
WIP: Remove get_all_entities() function
parent
63930e1f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_error_stuff.py
+3
-3
3 additions, 3 deletions
tests/test_error_stuff.py
with
3 additions
and
3 deletions
tests/test_error_stuff.py
+
3
−
3
View file @
aac37ca8
...
@@ -176,9 +176,9 @@ def test_entity_does_not_exist():
...
@@ -176,9 +176,9 @@ def test_entity_does_not_exist():
te
=
te
.
value
te
=
te
.
value
assert
te
.
has_error
(
EntityDoesNotExistError
)
assert
te
.
has_error
(
EntityDoesNotExistError
)
# Only non-existing entities caused the container error
# Only non-existing entities caused the container error
assert
not
pe
.
name
in
[
x
.
name
for
x
in
te
.
get_
all_entities
()
]
assert
not
pe
.
name
in
[
x
.
name
for
x
in
te
.
all_entities
]
for
p
in
(
p1
,
p2
,
p3
):
for
p
in
(
p1
,
p2
,
p3
):
assert
p
.
name
in
[
x
.
name
for
x
in
te
.
get_
all_entities
()
]
assert
p
.
name
in
[
x
.
name
for
x
in
te
.
all_entities
]
def
test_insert_existent_entity
():
def
test_insert_existent_entity
():
...
@@ -226,7 +226,7 @@ def test_insert_existent_entity():
...
@@ -226,7 +226,7 @@ def test_insert_existent_entity():
assert
une
.
entity
is
not
None
assert
une
.
entity
is
not
None
assert
pe
.
name
==
une
.
entity
.
name
assert
pe
.
name
==
une
.
entity
.
name
for
p
in
(
p1
,
p2
,
p3
):
for
p
in
(
p1
,
p2
,
p3
):
assert
not
p
in
te
.
get_
all_entities
()
assert
p
not
in
te
.
all_entities
def
test_double_insertion
():
def
test_double_insertion
():
...
...
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