Exemplo n.º 1
0
 def test_iam_group_name(self):
     for s in ['a' * 64, 'a' * 128]:
         iam_group_name(s)
     for s in ['a' * 129, 'a' * 256]:
         with self.assertRaises(ValueError):
             iam_group_name(s)
Exemplo n.º 2
0
 def test_iam_group_name(self):
     for s in ["a" * 64, "a" * 128]:
         iam_group_name(s)
     for s in ["a" * 129, "a" * 256]:
         with self.assertRaises(ValueError):
             iam_group_name(s)