git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get rid of sequels of vs-based boxes
[tests.git]
/
system
/
TestUser.py
diff --git
a/system/TestUser.py
b/system/TestUser.py
index
23f01a4
..
12728ee
100644
(file)
--- a/
system/TestUser.py
+++ b/
system/TestUser.py
@@
-43,10
+43,7
@@
class TestUser:
def add_keys (self):
user_spec=self.user_spec
def add_keys (self):
user_spec=self.user_spec
- for key
name in user_spec['key
names']:
- key
=self.test_plc.locate_key(key
name)
+ for key
_name in user_spec['key_
names']:
+ key
_spec=self.test_plc.locate_key(key_
name)
auth=self.auth()
auth=self.auth()
- self.test_plc.apiserver.AddPersonKey(auth,self.name(), key['key_fields'])
-
-
-
+ self.test_plc.apiserver.AddPersonKey(auth,self.name(), key_spec['key_fields'])