mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 06:29:31 -02:30
ensure change access for adding team roles
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Python
|
||||
import pytest
|
||||
|
||||
# AWX
|
||||
from awx.api.views import ApiV1RootView
|
||||
from awx.api.views import (
|
||||
ApiV1RootView,
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_response_new(mocker):
|
||||
@@ -10,6 +11,7 @@ def mock_response_new(mocker):
|
||||
m.return_value = m
|
||||
return m
|
||||
|
||||
|
||||
class TestApiV1RootView:
|
||||
def test_get_endpoints(self, mocker, mock_response_new):
|
||||
endpoints = [
|
||||
|
||||
Reference in New Issue
Block a user