diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2013-08-21 22:57:29 +0200 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2013-08-21 22:57:29 +0200 |
commit | 958e108eff315a8eaa552dee08848befd16c3265 (patch) | |
tree | 87b7f8bc00de661b2e5619f7ff9fbef8a4b8049b | |
parent | add test to ensure that anon gets redirected to requested next URL (diff) | |
download | identity.gentoo.org-958e108eff315a8eaa552dee08848befd16c3265.tar.gz identity.gentoo.org-958e108eff315a8eaa552dee08848befd16c3265.tar.bz2 identity.gentoo.org-958e108eff315a8eaa552dee08848befd16c3265.zip |
Add more attrs to the test accounts, for more testing
-rw-r--r-- | okupy/tests/vars.py | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/okupy/tests/vars.py b/okupy/tests/vars.py index f4edbc1..84216d9 100644 --- a/okupy/tests/vars.py +++ b/okupy/tests/vars.py @@ -27,7 +27,11 @@ DIRECTORY = { "gidNumber": ["1000"], "givenName": ["Alice"], "sn": ["Adams"], + "cn": ["Alice Adams"], "mail": ["alice@test.com"], + "gentooRoles": ["kde, qt, cluster"], + "gentooLocation": ["City1, Country1"], + "gentooACL": ["user.group", "developer.group"], }, "uid=bob,ou=people,o=test": { "uid": ["bob"], @@ -37,8 +41,26 @@ DIRECTORY = { "gidNumber": ["50"], "givenName": ["Robert"], "sn": ["Barker"], + "cn": ["Robert Barker"], "mail": ["bob@test.com"], - } + "gentoRoles": ["nothing"], + "gentooLocation": ["City2, Country2"], + "gentooACL": ["user.group", "foundation.group"] + }, + "uid=jack,ou=people,o=test": { + "uid": ["jack"], + "gentooACL": ["user.group", "developer.group", "foundation.group"], + }, + "uid=john,ou=people,o=test": { + "uid": ["john"], + "cn": ["John Smith"], + "gentooLocation": ["City3, Country3"], + "gentooRoles": ["kernel, security"], + "gentooACL": ["user.group", "retired.group"], + }, + "uid=matt,ou=people,o=test": { + "gentooACL": ["user.group", "retired.group"], + }, } # User objects |