Skip to content
Snippets Groups Projects
Verified Commit 2ea97cf9 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

reverted unnecessary changes

parent 15455572
No related branches found
No related tags found
2 merge requests!50Draft: ENH: file system: core,!8Draft: F filesystem
...@@ -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:
......
...@@ -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.
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment