Switch to unified view

a/AlluraTest/alluratest/controller.py b/AlluraTest/alluratest/controller.py
...
...
166
        fn = self.app.post if method=='POST' else self.app.get
166
        fn = self.app.post if method=='POST' else self.app.get
167
167
168
        response = fn(
168
        response = fn(
169
            str(path),
169
            str(path),
170
            params=params,
170
            params=params,
171
            status=[200, 302, 400, 403, 404])
171
            status=[200, 201, 302, 400, 403, 404])
172
        if response.status_int == 302:
172
        if response.status_int == 302:
173
            return response.follow()
173
            return response.follow()
174
        else:
174
        else:
175
            return response
175
            return response
176
176