

def test_folder_removed_on_server(self):
    account = _account_for_test()
    with mock_worker(fol1={
        
    }, fol2={
        
    }):
        account.perform_update()
    with mock_worker(fol1={
        
    }):
        account.perform_update()
    self.assertEqual([f.name for f in account.list_folders()], ['fol1'])

dataset/ETHPy150Open mgax/tinymail/src/tinymail/tests/test_account.py AccountUpdateTest.test_folder_removed_on_server/original