unit test
This commit is contained in:
parent
c7fbf4ec81
commit
77339cc7a1
2 changed files with 152 additions and 0 deletions
|
|
@ -588,6 +588,8 @@ def _list_tasks(options, session):
|
|||
}
|
||||
|
||||
if getattr(options, 'mine'):
|
||||
if getattr(options, 'user'):
|
||||
raise koji.GenericError("Can't specify 'mine' and 'user' in same time")
|
||||
user = session.getLoggedInUser()
|
||||
if not user:
|
||||
print("Unable to determine user")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue