示例#1
0
    def should_warn_about_unexistent_path_entry(self):
        self.info_dir.having_file(a_trashinfo_without_path())

        self.run()

        self.error_should_be(
                "Parse Error: XDG_DATA_HOME/Trash/info/1.trashinfo: "
                "Unable to parse Path\n")
        self.output_should_be('')
示例#2
0
    def should_warn_about_unexistent_path_entry(self):
        self.home_trashcan.having_file(a_trashinfo_without_path())

        self.user_run_trash_list()

        self.user.should_read_error(
                "Parse Error: XDG_DATA_HOME/Trash/info/1.trashinfo: "
                "Unable to parse Path.\n")
        self.user.should_read_output('')