def test_not_inline_cf_role_names(self): not_cf_name = 'Regular-Role-Thing' self.assertIsNone(inline_cf_role_re.match(not_cf_name))
def test_inline_cf_role_names(self): cf_name = 'Stack-Name-RoleNameRole-1BLAH7BLAH1BLAH' self.assertIsNotNone(inline_cf_role_re.match(cf_name))