Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_get_prefixes_for_action(self):
result = _get_prefixes_for_action('iam:cat')
self.assertEqual(result, ['iam:', 'iam:c', 'iam:ca', 'iam:cat'])