def test_has_keys(self): creds = Credentials(aws_secret_access_key='my_key', aws_access_key_id='my_key') self.assertTrue(creds.has_keys())