mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unittest - Make client credentials available as a dictionary
This commit is contained in:
parent
4c88726dab
commit
b58c6566af
1 changed files with 9 additions and 2 deletions
|
@ -105,8 +105,15 @@ class Task(object):
|
|||
else:
|
||||
user, group, org, userkey = taskd_user
|
||||
|
||||
self.credentials = "/".join((org, user, userkey))
|
||||
self.config("taskd.credentials", self.credentials)
|
||||
credentials = "/".join((org, user, userkey))
|
||||
self.config("taskd.credentials", credentials)
|
||||
|
||||
self.credentials = {
|
||||
"user": user,
|
||||
"group": group,
|
||||
"org": org,
|
||||
"userkey": userkey,
|
||||
}
|
||||
|
||||
def config(self, var, value):
|
||||
"""Run setup `var` as `value` in taskd config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue