1
Vote

Refactor rename class across multiple projects doesn't find every instance to rename

description

in azure solution:

1 refactor in test project doesn't find all from impl project

in test_tableservice.py, refactor-rename TableService from the following code:
class TableServiceTest(AzureTestCase):

    def setUp(self):
        self.tc = TableService(account_name=credentials.getStorageServicesName(), 
                                   account_key=credentials.getStorageServicesKey())
it will find all references in the test project, and one reference in the impl project (azure\storage__init__.py), but it won't find the class definition (azure\storage\tableservice.py)

2 refactor in impl project doesn't find any references in test project

in azure\storage\tableservice.py, select TableService from the following code:
class TableService(_StorageClient):
and it will find all references in the impl project, but nothing from the test project.

comments