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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
2ea97cf9
Verified
Commit
2ea97cf9
authored
Jan 23, 2021
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
reverted unnecessary changes
parent
15455572
No related branches found
No related tags found
2 merge requests
!50
Draft: ENH: file system: core
,
!8
Draft: F filesystem
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_file.py
+0
-4
0 additions, 4 deletions
tests/test_file.py
tests/test_issues_server.py
+2
-3
2 additions, 3 deletions
tests/test_issues_server.py
with
2 additions
and
7 deletions
tests/test_file.py
+
0
−
4
View file @
2ea97cf9
...
@@ -169,7 +169,6 @@ def test_file4():
...
@@ -169,7 +169,6 @@ def test_file4():
pass
pass
@mark.xfail
(
reason
=
"
refactoring filesystem
"
)
def
test_upload_complete_folder
():
def
test_upload_complete_folder
():
file1_
=
models
.
File
(
name
=
"
Testfile1
"
,
file1_
=
models
.
File
(
name
=
"
Testfile1
"
,
description
=
"
Testfile Desc
"
,
description
=
"
Testfile Desc
"
,
...
@@ -200,7 +199,6 @@ def test_upload_complete_folder():
...
@@ -200,7 +199,6 @@ def test_upload_complete_folder():
c
.
delete
()
c
.
delete
()
@mark.xfail
(
reason
=
"
refactoring filesystem
"
)
def
test_file6
():
def
test_file6
():
try
:
try
:
# upload file to testfiles2/testfile...
# upload file to testfiles2/testfile...
...
@@ -309,7 +307,6 @@ def test_file7():
...
@@ -309,7 +307,6 @@ def test_file7():
pass
pass
@mark.xfail
(
reason
=
"
refactoring filesystem
"
)
def
test_consistency_file_was_modified
():
def
test_consistency_file_was_modified
():
try
:
try
:
...
@@ -375,7 +372,6 @@ def test_consistency_file_was_modified():
...
@@ -375,7 +372,6 @@ def test_consistency_file_was_modified():
pass
pass
@mark.xfail
(
reason
=
"
refactoring filesystem
"
)
def
test_consistency_file_does_not_exist
():
def
test_consistency_file_does_not_exist
():
try
:
try
:
with
open
(
"
test.dat
"
,
"
w
"
)
as
upload_file
:
with
open
(
"
test.dat
"
,
"
w
"
)
as
upload_file
:
...
...
This diff is collapsed.
Click to expand it.
tests/test_issues_server.py
+
2
−
3
View file @
2ea97cf9
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
"""
Tests for issues on gitlab.com, project caosdb-server.
"""
"""
Tests for issues on gitlab.com, project caosdb-server.
"""
from
pytest
import
mark
import
os
import
os
import
tempfile
import
tempfile
import
time
import
time
...
@@ -99,7 +98,6 @@ def test_issue_62():
...
@@ -99,7 +98,6 @@ def test_issue_62():
prop2
.
insert
()
prop2
.
insert
()
@mark.xfail
(
reason
=
"
waiting for fix
"
)
def
test_issue_85_a
():
def
test_issue_85_a
():
"""
SQLIntegrityConstraintViolationException for special inheritance patterns.
"""
SQLIntegrityConstraintViolationException for special inheritance patterns.
...
@@ -123,7 +121,7 @@ def test_issue_85_a():
...
@@ -123,7 +121,7 @@ def test_issue_85_a():
c
.
insert
()
# Raised java.sql.SQLIntegrityConstraintViolationException:
c
.
insert
()
# Raised java.sql.SQLIntegrityConstraintViolationException:
# # Duplicate entry '12345-12346-12345' for key 'PRIMARY'
# # Duplicate entry '12345-12346-12345' for key 'PRIMARY'
@mark.xfail
(
reason
=
"
waiting for fix
"
)
def
test_issue_85_b
():
def
test_issue_85_b
():
"""
SQLIntegrityConstraintViolationException for special inheritance patterns.
"""
SQLIntegrityConstraintViolationException for special inheritance patterns.
...
@@ -145,6 +143,7 @@ def test_issue_85_b():
...
@@ -145,6 +143,7 @@ def test_issue_85_b():
C
.
update
()
# Failed at this step
C
.
update
()
# Failed at this step
@pytest.mark.xfail
(
reason
=
"
filesystem refactoring
"
)
def
test_issue_99
():
def
test_issue_99
():
"""
Checksum updating failed with versioning enabled.
"""
Checksum updating failed with versioning enabled.
"""
"""
...
...
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