aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'okupy/tests')
-rw-r--r--okupy/tests/vars.py24
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