Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_helper_files
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
common_helper_files
Commits
e50be90d
Commit
e50be90d
authored
6 years ago
by
Jörg Stucke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
empty dir bugfix
parent
de153ba7
master
…
2.2
0.3.0
0.2.3
0.2.2
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
test_fail_safe_file_operations.py
tests/test_fail_safe_file_operations.py
+1
-1
No files found.
tests/test_fail_safe_file_operations.py
View file @
e50be90d
...
...
@@ -150,7 +150,7 @@ def test_safe_rglob_invalid_path():
def
test_safe_rglob_empty_dir
():
test_path
=
Path
(
TestFailSafeFileOperations
.
get_directory_of_current_file
())
.
parent
/
'tests'
/
'data'
/
'empty_folder'
assert
test_path
.
exists
(
)
test_path
.
mkdir
(
exist_ok
=
True
)
result
=
safe_rglob
(
test_path
)
assert
len
(
list
(
result
))
==
0
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment