mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-01 23:46:53 +00:00
share repo to group (#123)
This commit is contained in:
@@ -13,3 +13,8 @@ def create_and_get_repo(*a, **kw):
|
||||
|
||||
def randstring(length=12):
|
||||
return ''.join(random.choice(string.lowercase) for i in range(length))
|
||||
|
||||
def create_and_get_group(*a, **kw):
|
||||
group_id = ccnet_api.create_group(*a, **kw)
|
||||
group = ccnet_api.get_group(group_id)
|
||||
return group
|
||||
|
Reference in New Issue
Block a user