mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
Added and updated several credential creation and listing API endpoints
Should addres #1379
This commit is contained in:
@@ -92,6 +92,13 @@ def deploy_jobtemplate(project, inventory, credential):
|
||||
def team(organization):
|
||||
return organization.teams.create(name='test-team')
|
||||
|
||||
@pytest.fixture
|
||||
def team_member(user, team):
|
||||
ret = user('team-member', False)
|
||||
team.member_role.members.add(ret)
|
||||
return ret
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@mock.patch.object(Project, "update", lambda self, **kwargs: None)
|
||||
def project(instance, organization):
|
||||
|
||||
Reference in New Issue
Block a user