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

fix a file test

parent ca8be4a4
No related branches found
No related tags found
2 merge requests!50Draft: ENH: file system: core,!8Draft: F filesystem
...@@ -298,19 +298,11 @@ def test_file7(): ...@@ -298,19 +298,11 @@ def test_file7():
name="PickupTestfolder", name="PickupTestfolder",
description="Pickup test folder desc", description="Pickup test folder desc",
path="testfiles2/", path="testfiles2/",
pickup="path") pickup="testfolder")
with raises(EntityError): with raises(EntityError):
folder_.insert folder_.insert()
finally: finally:
try:
folder_.delete()
except BaseException:
pass
try:
file_.delete()
except BaseException:
pass
try: try:
shutil.rmtree(path) shutil.rmtree(path)
except BaseException: except BaseException:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment