Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/d/a/dataone.test_utilities-1.3.0/d1_test/instance_generator/tests/test_access_policy.py   dataone.test_utilities(Download)
  def test_030(self):
    '''random_subject_with_permission_labels()'''
    for i in range(10):
      permissions = accesspolicy.random_set_of_permissions()
      subject = accesspolicy.random_subject_with_permission_labels(permissions)