

def setup(self):
    account = mock.Mock()
    credentials = namedtuple('credentials', ['private_key', 'certificate', 'subscription_id'])
    account.publishsettings = mock.Mock(return_value=credentials(private_key='abc', certificate='abc', subscription_id='4711'))
    account.storage = Storage(account, 'some-container')

dataset/ETHPy150Open SUSE/azurectl/test/unit/storage_storage_test.py TestStorage.setup/VarMisuse@59/83 `self`->`account`