mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
fix other assorted sanity failures
This commit is contained in:
parent
48f10669d6
commit
081a0fc04e
@ -71,10 +71,11 @@ def run_module(request):
|
||||
resp.status_code = django_response.status_code
|
||||
|
||||
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],
|
||||
request_user.username, resp.status_code
|
||||
))
|
||||
)
|
||||
|
||||
return resp
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
import pytest
|
||||
|
||||
from awx.main.models import Organization, Inventory, Group
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
import pytest
|
||||
|
||||
from awx.main.models import Organization, Inventory, InventorySource, Project
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user