tag_types don't have a min_role_id anymore
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 18 Nov 2010 11:08:58 +0000 (12:08 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 18 Nov 2010 11:08:58 +0000 (12:08 +0100)
system/plcsh_stress_test.py

index 3d17b97..c4f4fcf 100755 (executable)
@@ -160,7 +160,7 @@ def random_key(key_types,namelengths):
 def random_tag_type (role_ids):
     return  {'tagname': randstr(12,letters+digits),
              'category':randstr(4,letters+digits)+'/'+randstr(6,letters+digits),
-             'min_role_id': random.sample(role_ids, 1)[0],
+#             'min_role_id': random.sample(role_ids, 1)[0],
              'description' : randstr(128,letters+digits+whitespace+punctuation),
              }