Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
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-pylib
Commits
c861d98e
Commit
c861d98e
authored
1 year ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
Make exception and high level api tests import linkahead instead of caosdb
parent
78a0bcdf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!143
Release 0.15.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
unittests/test_exception.py
+1
-1
1 addition, 1 deletion
unittests/test_exception.py
unittests/test_high_level_api.py
+5
-5
5 additions, 5 deletions
unittests/test_high_level_api.py
with
6 additions
and
6 deletions
unittests/test_exception.py
+
1
−
1
View file @
c861d98e
...
...
@@ -21,7 +21,7 @@
import
warnings
from
caosdb
.exceptions
import
(
CaosDBConnectionError
,
CaosDBException
,
from
linkahead
.exceptions
import
(
CaosDBConnectionError
,
CaosDBException
,
LinkAheadConnectionError
,
LinkAheadException
)
# make sure the deprecation is raised
...
...
This diff is collapsed.
Click to expand it.
unittests/test_high_level_api.py
+
5
−
5
View file @
c861d98e
...
...
@@ -23,19 +23,19 @@
# A. Schlemmer, 02/2022
import
caosdb
as
db
from
caosdb
.high_level_api
import
(
convert_to_entity
,
convert_to_python_object
,
import
linkahead
as
db
from
linkahead
.high_level_api
import
(
convert_to_entity
,
convert_to_python_object
,
new_high_level_entity
)
from
caosdb
.high_level_api
import
(
CaosDBPythonUnresolvedParent
,
from
linkahead
.high_level_api
import
(
CaosDBPythonUnresolvedParent
,
CaosDBPythonUnresolvedReference
,
CaosDBPythonRecord
,
CaosDBPythonFile
,
high_level_type_for_standard_type
,
standard_type_for_high_level_type
,
high_level_type_for_role
,
CaosDBPythonEntity
)
from
caosdb
.apiutils
import
compare_entities
from
linkahead
.apiutils
import
compare_entities
from
caosdb
.common.datatype
import
(
is_list_datatype
,
from
linkahead
.common.datatype
import
(
is_list_datatype
,
get_list_datatype
,
is_reference
)
...
...
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