summaryrefslogtreecommitdiff
path: root/share/python/lib/files.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'share/python/lib/files.yaml')
-rw-r--r--share/python/lib/files.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/share/python/lib/files.yaml b/share/python/lib/files.yaml
index be69920..f18b8cd 100644
--- a/share/python/lib/files.yaml
+++ b/share/python/lib/files.yaml
@@ -60,3 +60,24 @@
- then: file {filename} has a very old modification time
function: files_mtime_is_ancient
+
+- given: a directory {path}
+ function: files_make_directory
+
+- when: I create directory {path}
+ function: files_make_directory
+
+- when: I remove directory {path}
+ function: files_remove_directory
+
+- then: directory {path} exists
+ function: files_directory_exists
+
+- then: directory {path} does not exist
+ function: files_directory_does_not_exist
+
+- then: directory {path} is empty
+ function: files_directory_is_empty
+
+- then: directory {path} is not empty
+ function: files_directory_is_not_empty