mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 19:07:36 -02:30
fix other assorted sanity failures
This commit is contained in:
@@ -71,10 +71,11 @@ def run_module(request):
|
|||||||
resp.status_code = django_response.status_code
|
resp.status_code = django_response.status_code
|
||||||
|
|
||||||
if request.config.getoption('verbose') > 0:
|
if request.config.getoption('verbose') > 0:
|
||||||
logger.info('{} {} by {}, code:{}'.format(
|
logger.info(
|
||||||
|
'%s %s by %s, code:%s',
|
||||||
method, '/api/' + url.split('/api/')[1],
|
method, '/api/' + url.split('/api/')[1],
|
||||||
request_user.username, resp.status_code
|
request_user.username, resp.status_code
|
||||||
))
|
)
|
||||||
|
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
from __future__ import (absolute_import, division, print_function)
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from awx.main.models import Organization, Inventory, Group
|
from awx.main.models import Organization, Inventory, Group
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
from __future__ import (absolute_import, division, print_function)
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from awx.main.models import Organization, Inventory, InventorySource, Project
|
from awx.main.models import Organization, Inventory, InventorySource, Project
|
||||||
|
|||||||
Reference in New Issue
Block a user