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
594a59a8
Commit
594a59a8
authored
5 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: whitespace changes
parent
5a5c1a8d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_file.py
+9
-5
9 additions, 5 deletions
tests/test_file.py
with
9 additions
and
5 deletions
tests/test_file.py
+
9
−
5
View file @
594a59a8
...
...
@@ -26,16 +26,18 @@
@author: Timm Fitschen
"""
import
os
import
shutil
from
lxml
import
etree
from
sys
import
maxsize
as
maxint
from
random
import
randint
from
sys
import
maxsize
as
maxint
from
caosdb
import
execute_query
,
get_config
,
get_connection
from
caosdb.common
import
models
from
caosdb.exceptions
import
EntityError
from
caosdb
import
execute_query
,
get_config
,
get_connection
from
caosdb.utils.checkFileSystemConsistency
import
runCheck
from
nose.tools
import
assert_is_not_none
,
assert_true
,
assert_false
,
assert_equals
,
assert_raises
,
with_setup
,
nottest
# @UnresolvedImport
from
lxml
import
etree
from
nose.tools
import
(
assert_equals
,
assert_false
,
# @UnresolvedImport
assert_is_not_none
,
assert_raises
,
assert_true
,
nottest
,
with_setup
)
def
setup_module
():
...
...
@@ -237,6 +239,7 @@ def test_file6():
d
=
models
.
DropOffBox
()
d
.
sync
()
path
=
d
.
path
+
"
/testfolder
"
if
not
os
.
path
.
isdir
(
d
.
path
):
print
(
"
drop off box not on this system.
"
)
else
:
...
...
@@ -293,6 +296,7 @@ def test_file7():
d
=
models
.
DropOffBox
()
d
.
sync
()
path
=
d
.
path
+
"
/testfolder
"
if
not
os
.
path
.
isdir
(
d
.
path
):
print
(
"
drop off box not on this system.
"
)
else
:
...
...
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