Commit 6e4f4ff0 by Simon János

minor refactor

parent f02141dd
Pipeline #292 passed with stage
in 54 seconds
......@@ -64,7 +64,7 @@ class LoggingMiddleware(object):
def process_request(self, request, *_):
self.logger.info('Request received: %s %s', request.method, request.path)
def process_response(self, _, response, *__):
def process_response(self, _request, response, *_):
if response.body:
self.logger.info('Sending response (%s): %s', response.status, response.body)
......
......@@ -6,9 +6,9 @@ from falcon.testing import TestCase
from orchestrator.api import stacks
class StacksControllerTest(TestCase):
class StackTest(TestCase):
def setUp(self):
super(StacksControllerTest, self).setUp()
super(StackTest, self).setUp()
self.app = stacks.create_app()
def test_stacks_api_allowed_methods_on_endpoints(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment