610
610
self.assertEqual(newmdobj.generation, None)
611
611
# check that the trash is the same:
612
612
self.assertEqual(self.fsm.trash,
613
{("share", "uuid_1"): (mdid_1, "parent", path_1)})
614
(mdid_1, "parent", path_1, False)})
614
615
self.assertEqual(list(self.fsm.get_iter_trash()),
615
[("share", "uuid_1", "parent", path_1)])
616
[("share", "uuid_1", "parent", path_1, False)])
617
618
expected = [(("share", "uuid_1"),
618
619
("old_parent", "new_parent", "new_name", "pfrom", "pto"))]