Example #1
0
    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")
Example #2
0
 def when_dir_is_sticky(self, path):
     make_sticky_dir(path)