Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setUp(self):
self.username = 'username'
self.password = 'password'
config = {
'default': {
'idpentryurl': '',
'domain': '',
'region': '',
'output': ''
}
}
self.credentialsfile = './fixtures/credentials'
self.sts_auth = STSAuth(self.username, self.password, self.credentialsfile)
self.sts_auth.config = MagicMock(return_value=config)