Updates from code review
This commit is contained in:
parent
1e868aa7ee
commit
632cbf92bc
@ -1101,7 +1101,7 @@ def create_change_devel_request(apiurl, source_project, source_package,
|
||||
def create_add_role_request(apiurl, target_project, user, role, target_package=None, message=None):
|
||||
"""Create an add_role request
|
||||
|
||||
user -- user or group name. If it is a group, it should start with 'group:'.
|
||||
user -- user or group name. If it is a group, it has to start with 'group:'.
|
||||
"""
|
||||
|
||||
if user.startswith('group:'):
|
||||
|
@ -8,7 +8,7 @@ from osc.core import get_request_list
|
||||
|
||||
PROJECT = 'openSUSE:Factory'
|
||||
SRC_PROJECT = 'devel:Fishing'
|
||||
FIXTURES = os.path.join(os.getcwd(), 'tests/fixtures')
|
||||
FIXTURES = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'fixtures')
|
||||
REVIEW_TEAM = 'reviewers-team'
|
||||
FACTORY_MAINTAINERS = 'group:factory-maintainers'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user