예제 #1
0
 def it_ignores_missing_files():
     diskutils.delete("path/to/non/file")
예제 #2
0
 def it_deletes_directories(existing_dirpath):
     diskutils.delete(existing_dirpath)
     expect(os.path.exists(existing_dirpath)).is_false()
예제 #3
0
 def it_deletes_existing_files(existing_path):
     diskutils.delete(existing_path)
     expect(os.path.exists(existing_path)).is_false()