def should_list_method_1_trashcan_contents(self): make_sticky_dir('topdir/.Trash') trashdir = FakeInfoDir('topdir/.Trash/123/info') trashdir.add_trashinfo('file1', '2000-01-01T00:00:00') self.run() self.output_should_be("2000-01-01 00:00:00 topdir/file1\n")
def when_dir_is_sticky(self, path): make_sticky_dir(path)