ensure change access for adding team roles

This commit is contained in:
Wayne Witzel III
2016-04-28 13:43:49 -04:00
parent 521e0645a2
commit b6bbd4fa77
2 changed files with 9 additions and 4 deletions

View File

@@ -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 = [