Exemplo n.º 1
0
 def it_can_be_called_twice(new_path):
     diskutils.touch(new_path)
     diskutils.touch(new_path)
     expect(os.path.exists(new_path)).is_true()
Exemplo n.º 2
0
 def it_creates_missing_directories(new_path_in_directory):
     diskutils.touch(new_path_in_directory)
     expect(os.path.exists(new_path_in_directory)).is_true()
Exemplo n.º 3
0
 def it_creates_files(new_path):
     diskutils.touch(new_path)
     expect(os.path.exists(new_path)).is_true()