

def test_read_config(self):
    '\n        Test that credentials can be retrieved from the config\n        '
    username.config.set('aws-access-key', self.aws_access_key)
    self.keyring.set_password('aws', self.aws_access_key, self.aws_secret_key)
    credentials = self.credentials_manager.get_credentials()
    self.assertEqual(2, len(credentials))
    (username, password) = credentials
    self.assertEqual(self.aws_access_key, username)
    self.assertEqual(self.aws_secret_key, password)

dataset/ETHPy150Open koenbok/Cactus/cactus/tests/test_credentials.py CredentialsManagerTestCase.test_read_config/VarMisuse@12/38 `self`->`username`