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
5febd1fc
Commit
5febd1fc
authored
4 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
fix
parent
a09314a1
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
unittests/test_concrete_property.py
+6
-4
6 additions, 4 deletions
unittests/test_concrete_property.py
with
6 additions
and
4 deletions
unittests/test_concrete_property.py
+
6
−
4
View file @
5febd1fc
...
...
@@ -24,17 +24,19 @@
"""
Tests for the _ConcreteProperty class.
"""
# pylint: disable=missing-docstring
from
nose.tools
import
(
assert_is_not_none
as
there
,
assert_true
as
tru
,
assert_equal
as
eq
)
from
caosdb.common.models
import
_ConcreteProperty
from
caosdb
import
configure_connection
from
caosdb.common.models
import
_ConcreteProperty
from
caosdb.connection.mockup
import
MockUpServerConnection
# pylint: disable=missing-docstring
from
nose.tools
import
assert_equal
as
eq
from
nose.tools
import
assert_is_not_none
as
there
from
nose.tools
import
assert_true
as
tru
def
setup_module
():
there
(
_ConcreteProperty
)
configure_connection
(
url
=
"
unittests
"
,
username
=
"
testuser
"
,
password_method
=
"
plain
"
,
password
=
"
testpassword
"
,
timeout
=
200
,
implementation
=
MockUpServerConnection
)
...
...
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