PEPy fixes
This commit is contained in:
@@ -19,13 +19,17 @@ from webob import Request
|
|||||||
|
|
||||||
from swift.common.middleware import domain_remap
|
from swift.common.middleware import domain_remap
|
||||||
|
|
||||||
|
|
||||||
class FakeApp(object):
|
class FakeApp(object):
|
||||||
|
|
||||||
def __call__(self, env, start_response):
|
def __call__(self, env, start_response):
|
||||||
return env['PATH_INFO']
|
return env['PATH_INFO']
|
||||||
|
|
||||||
|
|
||||||
def start_response(*args):
|
def start_response(*args):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TestDomainRemap(unittest.TestCase):
|
class TestDomainRemap(unittest.TestCase):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user