def test_shared_with_deleted_selection(self): self.item1.deletion_type = 'selected' combined = combine_entries(self.container, 'shared') self.assertEqual(len(combined), 3)
def test_selected_no_deleted_items(self): self.remove_deleted() combined = combine_entries(self.container, 'selected') self.assertEqual(len(combined), 2)
def test_no_selected(self): self.empty_container() combined = combine_entries(self.container, 'selected') self.assertEqual(len(combined), 0)
def test_selected_with_deleted_items(self): combined = combine_entries(self.container, 'selected') self.assertEqual(len(combined), 2)
def test_deleted(self): combined = combine_entries(self.container, 'deleted') self.assertEqual(len(combined), 2)